Re: Support AX_CXX_COMPILE_STDCXX_11 macro in autoconf

Keith Marshall <[email protected]> Sat, 18 Jan 2020 21:12:38 +0000
Newsgroups gmane.comp.gnu.mingw.user
Organization MinGW.org Project
Message-ID <[email protected]>
On 18/01/2020 20:12, Anton Shepelev wrote:
> Eli Zaretskii to Anton Shepelev:
> 
>>> May I please request that you supply a newer version of
>>> the `autoconf' tools, at least the one that supports the
>>> AX_CXX_COMPILE_STDCXX_11 macro:
>>>
>>>    https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html
>>
>> I'd just download the corresponding .m4 file and install
>> it on your system, under /usr/share/aclocal.  No need for
>> anyone to provide any new version.
> 
> If by "install" you meant copying the file to the said
> location, then it did't help:
> 
> Ant@ant-519666801b8 ~/db-staging
> $ ls /usr/share/aclocal
> ax_cxx_compile_stdcxx_11.m4  bison-i18n.m4  pkg.m4  sdl2.m4
> 
> Ant@ant-519666801b8 ~/db-staging
> $ ./configure --disable-sdltest 1>/dev/null

I don't see you running autoconf, to regenerate the configure script...

> ./configure: line 5712: syntax error near unexpected token `noext,'
> ./configure: line 5712: `AX_CXX_COMPILE_STDCXX_11(noext, mandatory)'

...and this suggests that the AX_CXX_COMPILE_STDCXX_11 macro wasn't
expanded, when configure was generated.

> Maybe my configure script uses some syntax introduced in a
> later version?

Did you regenerate the configure script _after_ you copied the m4 macro
definition to your aclocal directory?  The diagnostic suggests that you
didn't.

I don't see any mention of an autoconf version constraint, in the
documentation, to which you refer, for AX_CXX_COMPILE_STDCXX_11; what
makes you think that there may be one?

-- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F

_______________________________________________
MinGW-Users mailing list
[email protected]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwZ7AGBVH3lDh1I9TwK02xjR+Wj8FAl4jdMcACgkQwK02xjR+
Wj80+xAAw1EQs2QdlIKK+5ajTSYZI2keE5uGYKUqyDM85XMOLHkzBf+w49cxVC51
7kJnBr8lTPSw1UgizQfIEC/KBS1HyE5M9AfLzvzQoCozksLpX2tJ96ru6XBSz8xW
7mo85mj5sLnmfWbqneN+Z3+eFjX/Iz/Yl3t1lOWHxDhVDBu+jyEOoZ57H5bd0odg
43QhALrHvRYfFnw/aflf+BFLv5jwPI+v6eUcjve5DpRpfXuW9EmNPvt54AOpsgdo
wymUmGzoSr77aM1zEc0P1XO73WOZveiMvOUWS6bM4iytKhVCTiHjy+V+DGfRCHtz
9fCDdGTxmOpvhP38AhOuXJEnSBMd56teClPeRqBO6RAmiLdTEA+YVUcrCUabxmO/
97zlO36uVmbzcz67NlaXWNhD+tjdIg8xCvcvtlf0eWI7WstpUQBEX2Pc8fMEg4sg
nunwLFfF/mbdDD0CG+dQyoMLB+FF3tuopbXsil+bgv9h6sIsv/oId0mB2hDPmfsT
033LUABU8dTe9y7UGDzaPzV6wuDb9yoKQHih7Sc58lAUvL/Qoij2k//9aKgKKzJ3
N2EZHzgNYmE3z5s5qOvQF8ZZ5TRkOJglWurpuzaO6oEjSLAtPF/xm2gpeSsfPZLh
s/VsjAQTcvWnAzKtdw+OotAlQ2gwSk60T7KaB3fW91Qh57BpDlw=
=Ed/w
-----END PGP SIGNATURE-----