This is Autoconf-2.59, Automake-1.9.2, CVS Libtool branch-2-0:
Unless AC_CONFIG_MACRODIR is called aclocal or m4sugar, autoupdate complains about `unknown set' if aclocal.m4 uses m4_include. The run still works, but there are several pages of spurious warnings. Here's a minimal repeat recipe:
$ cat > configure.ac << '__EOF' AC_INIT(x,0) AC_CONFIG_MACRO_DIR(m4) AC_PROG_LIBTOOL AC_OUTPUT __EOF $ libtoolize ibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/argz.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' $ aclocal -I m4 $ grep m4_include aclocal.m4 m4_include([m4/libtool.m4]) m4_include([m4/ltoptions.m4]) m4_include([m4/ltsugar.m4]) m4_include([m4/ltversion.m4]) $ autoupdate autoupdate: unknown set: m4: AC:libtool.m4:_LT_COPYING autoupdate: unknown set: m4: AC:libtool.m4:m4_location(LT_PREREQ) autoupdate: unknown set: m4: AC:libtool.m4:LT_PREREQ autoupdate: unknown set: m4: AC:libtool.m4:m4_location(LT_INIT) autoupdate: unknown set: m4: AC:libtool.m4:LT_INIT ... autoupdate: unknown set: m4: AC:ltversion.m4:LT_PACKAGE_VERSION autoupdate: unknown set: m4: AC:ltversion.m4:LT_PACKAGE_REVISION autoupdate: unknown set: m4:AC:ltversion.m4:\ m4_location(LTVERSION_VERSION) autoupdate: unknown set: m4: AC:ltversion.m4:LTVERSION_VERSION $ diff -u configure.ac~ configure.ac --- configure.ac~ Fri Nov 19 06:16:21 2004 +++ configure.ac Fri Nov 19 06:19:20 2004 @@ -1,4 +1,4 @@ -AC_INIT(x, 0) +AC_INIT([x],[0]) AC_CONFIG_MACRO_DIR(.) -AC_PROG_LIBTOOL +LT_INIT() AC_OUTPUT
And yet by changing the directory name for AC_CONFIG_MACRO_DIR:
$ rm -f *.m4 $ sed 's,(\.),(m4sugar),' configure.ac~ | tee configure.ac AC_INIT(x, 0) AC_CONFIG_MACRO_DIR(m4sugar) AC_PROG_LIBTOOL AC_OUTPUT $ libtoolize libtoolize: `./ltmain.sh' is already up to date. libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4sugar'. libtoolize: copying file `m4sugar/libtool.m4' libtoolize: copying file `m4sugar/argz.m4' libtoolize: copying file `m4sugar/ltoptions.m4' libtoolize: copying file `m4sugar/ltsugar.m4' libtoolize: copying file `m4sugar/ltversion.m4' $ aclocal -I m4sugar $ autoupdate $ diff -u configure.ac~ configure.ac --- configure.ac~ Fri Nov 19 06:28:36 2004 +++ configure.ac Fri Nov 19 06:31:34 2004 @@ -1,4 +1,4 @@ -AC_INIT(x, 0) +AC_INIT([x],[0]) AC_CONFIG_MACRO_DIR(m4sugar) -AC_PROG_LIBTOOL +LT_INIT AC_OUTPUT
HTH, Gary. -- Gary V. Vaughan ())_. gary@{lilith.warpmail.net,gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http://sources.redhat.com/autobook
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf