Hello list,I don't know whether this is intended (for, say, backward compatibility with older Autoconf) but Libtool uses obsolete macros which generates "spurious" warning in my testsuite.
Background info: I'm writing a set of M4 macros to properly use Boost with the Autotools, I had a problem with the fact that Boost doesn't come with .la files, so I had to require my users to use Libtool so I could use -R and let Libtool do the magic with run paths. My testsuite is made with Autotest and most of it comes from Autoconf's own testsuite. I'd like to keep the -W obsolete flag if possible, to make sure that I don't use obsolete macros.
1. testsuite.at:243: testing ... ../../tests/testsuite.at:243: autoconf --force -W obsolete --- /dev/null 2007-11-03 22:43:11.000000000 +0100+++ /Users/tsuna/svn/git/boost.m4/_build/tests/testsuite.dir/at- stderr 2007-11-03 22:43:12.000000000 +0100
@@ -0,0 +1,36 @@ +configure.ac:3: warning: The macro `AC_HELP_STRING' is obsolete. +configure.ac:3: You should run autoupdate. +autoconf/general.m4:209: AC_HELP_STRING is expanded from... +autoconf/general.m4:1373: AC_ARG_ENABLE is expanded from... +aclocal.m4:1943: AC_ENABLE_SHARED is expanded from... +aclocal.m4:231: AC_LIBTOOL_SETUP is expanded from... +aclocal.m4:86: _AC_PROG_LIBTOOL is expanded from... +aclocal.m4:66: AC_PROG_LIBTOOL is expanded from... +configure.ac:3: the top level +aclocal.m4:1982: AC_ENABLE_STATIC is expanded from... +aclocal.m4:2021: AC_ENABLE_FAST_INSTALL is expanded from... +autoconf/general.m4:1391: AC_ARG_WITH is expanded from... +aclocal.m4:2218: AC_PROG_LD is expanded from... +configure.ac:3: warning: The macro `AC_TRY_LINK' is obsolete. +configure.ac:3: You should run autoupdate. +autoconf/general.m4:2415: AC_TRY_LINK is expanded from... +../../lib/m4sugar/m4sh.m4:523: AS_IF is expanded from... +autoconf/general.m4:1905: AC_CACHE_VAL is expanded from... +autoconf/general.m4:1918: AC_CACHE_CHECK is expanded from... +aclocal.m4:619: _LT_AC_LOCK is expanded from... +aclocal.m4:1105: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... +aclocal.m4:2730: _LT_AC_LANG_C_CONFIG is expanded from... +aclocal.m4:2661: AC_LIBTOOL_LANG_C_CONFIG is expanded from... +aclocal.m4:1897: _LT_AC_TAGCONFIG is expanded from...+configure.ac:3: warning: back quotes and double quotes must not be escaped in: $as_me:$LINENO: error: tag name \"$tagname\" already exists +configure.ac:3: warning: back quotes and double quotes must not be escaped in: $as_me: error: tag name \"$tagname\" already exists
+configure.ac:3: warning: The macro `AC_LANG_SAVE' is obsolete. +configure.ac:3: You should run autoupdate. +autoconf/lang.m4:170: AC_LANG_SAVE is expanded from... +aclocal.m4:4051: _LT_AC_LANG_GCJ_CONFIG is expanded from... +aclocal.m4:4003: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... +configure.ac:3: warning: The macro `AC_LANG_RESTORE' is obsolete. +configure.ac:3: You should run autoupdate. +autoconf/lang.m4:176: AC_LANG_RESTORE is expanded from... +aclocal.m4:4095: _LT_AC_LANG_RC_CONFIG is expanded from... +aclocal.m4:4059: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...1. testsuite.at:243: 1. BOOST_REQUIRE (testsuite.at:243): FAILED (testsuite.at:243)
Just in case, the sources of this package can be found at http:// repo.or.cz/w/boost.m4.git
Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool