> First, a large number of warnings can be a bit scary.

Attached is a diff that fixes most of the warnings. It does three things:

- raise autoconf requirement to 2.69 (released in 2012, and what you already 
use currently for production of the tarballs)
- replaces AC_FD_CC with AS_MESSAGE_LOG_FD, its new name
- replaces AC_HELP_STRING with AS_HELP_STRING, its new name

Once this is done, the number of warnings becomes reasonable:

> glibtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
> glibtoolize: and rerunning glibtoolize and aclocal.
> glibtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> 
> warning: back quotes and double quotes must not be escaped in: 
> $as_me:${as_lineno-$LINENO}: WARNING: the \"none\" host is obsolete, use 
> --disable-assembly
> warning: back quotes and double quotes must not be escaped in: $as_me: 
> WARNING: the \"none\" host is obsolete, use --disable-assembly
> warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to 
> _LT_SET_OPTION when you put the 'win32-dll' option into LT_INIT's first 
> parameter.
> warning: AC_OUTPUT should be used without arguments.
> warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
> warning: The macro `AC_CHECK_LIBM' is obsolete.
> warning: The macro `AC_HEADER_STDC' is obsolete.
> warning: The macro `AC_HEADER_TIME' is obsolete.
> warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
> warning: The macro `AC_PROG_CC_C99' is obsolete.
> warning: The macro `AC_PROG_LIBTOOL' is obsolete.
> warning: The macro `AC_PROG_NM' is obsolete.
> warning: The macro `AC_TRY_COMPILE' is obsolete.
> warning: The macro `AC_TRY_LINK' is obsolete.
> warning: The macro `AC_TRY_RUN' is obsolete.
> warning: The macro `AC_TYPE_SIGNAL' is obsolete.

I’ll try to have a look: it would be good to contribute those changes early, so 
there is ample testing before a future release, as you said.

FX


Attachment: macro_rename.diff
Description: Binary data

_______________________________________________
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to