Opened 4 months ago
Closed 4 months ago
#960 closed discussion (fixed)
warnings from new autoconf
Reported by: | Peter | Owned by: | Jari Häkkinen |
---|---|---|---|
Priority: | minor | Milestone: | yat 0.18 |
Component: | build | Version: | trunk |
Keywords: | Cc: |
Description
Running bootstrap with the recent beta release of autoconf (2.69c), I noticed a bunch of warnings. It's expected as I think they have changed the default warning level. We can either turn down the warning level (with somthing like -Wno-obsolete) or update configure.ac
. Calling AC_PROG_LIBTOOL
is e.g. to support libtool and it's probably been a decade since libtool 2 was released.
peter@baresi:~/src/yat$ ./bootstrap configure.ac:116: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:116: You should run autoupdate. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:116: the top level configure.ac:250: warning: The macro `AC_CHECK_LIBM' is obsolete. configure.ac:250: You should run autoupdate. m4/libtool.m4:3870: AC_CHECK_LIBM is expanded from... configure.ac:250: the top level configure.ac:116: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:116: You should run autoupdate. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:116: the top level configure.ac:250: warning: The macro `AC_CHECK_LIBM' is obsolete. configure.ac:250: You should run autoupdate. m4/libtool.m4:3870: AC_CHECK_LIBM is expanded from... configure.ac:250: the top level configure.ac:116: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:116: You should run autoupdate. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:116: the top level configure.ac:250: warning: The macro `AC_CHECK_LIBM' is obsolete. configure.ac:250: You should run autoupdate. m4/libtool.m4:3859: AC_CHECK_LIBM is expanded from... configure.ac:250: the top level configure.ac:116: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:116: You should run autoupdate. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:116: the top level configure.ac:250: warning: The macro `AC_CHECK_LIBM' is obsolete. configure.ac:250: You should run autoupdate. m4/libtool.m4:3859: AC_CHECK_LIBM is expanded from... configure.ac:250: the top level configure.ac:116: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:116: You should run autoupdate. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:116: the top level configure.ac:250: warning: The macro `AC_CHECK_LIBM' is obsolete. configure.ac:250: You should run autoupdate. m4/libtool.m4:3859: AC_CHECK_LIBM is expanded from... configure.ac:250: the top level configure.ac:116: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:116: You should run autoupdate. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:116: the top level configure.ac:250: warning: The macro `AC_CHECK_LIBM' is obsolete. configure.ac:250: You should run autoupdate. m4/libtool.m4:3859: AC_CHECK_LIBM is expanded from... configure.ac:250: the top level configure.ac:86: installing 'autotools/compile' configure.ac:55: installing 'autotools/missing' Makefile.am: installing 'autotools/depcomp'
Note: See
TracTickets for help on using
tickets.
Okay, the warnings are just the same warning repeatedly and only involve two macros from libtool. I found this ChangeLog? from libtool, dating back to 2004, describing the change and as expected the change was introduced in libtool 2, so easy enough to change the macros and require libtool 2.