Hello bug-libtool! Maybe I found a bug in the libtoolize script (1.5.22, current stable release) when using AC_LIB_LTDL in configure.ac.
PROGRAM=libtoolize PACKAGE=libtool VERSION=1.5.22 ACLOCAL-/AUTOMAKE-VERSION: 1.9.6 FILE: libtoolize, LINE: 251 if grep '^AC_DEFUN(AC_LIB_LTDL' aclocal.m4 >/dev/null 2>&1; then This check always fails ("You should update your `aclocal.m4' by running aclocal.") with aclocal 1.9.6 , as aclocal puts the name of the function in squared brackets when creating aclocal.m4: (excerpt from /usr/share/aclocal/ltdl.m4) ... # AC_LIB_LTDL # ----------- # Perform all the checks necessary for compilation of the ltdl objects # -- including compiler checks and header checks. AC_DEFUN([AC_LIB_LTDL], [AC_PREREQ(2.50) AC_REQUIRE([AC_PROG_CC]) ... Therefore, line 251 of libtoolize has to look this way (notice the inserted "\["): if grep '^AC_DEFUN(\[AC_LIB_LTDL' aclocal.m4 >/dev/null 2>&1; then This way it is done some lines above (exact: line 217), too, when checking for AC_PROG_LIBTOOL: if grep '^AC_DEFUN(\[A[MC]_PROG_LIBTOOL' aclocal.m4 >/dev/null 2>&1; then Best regards, Sebastian -- Dipl.-Inf. Sebastian Huebner <[EMAIL PROTECTED]> TZI - Center for Computing Technologies Intelligent Systems Department Universitaet Bremen, Germany Web: http://www.tzi.de/~cyco/ Fon: +49-421-218-7818 Fax: +49-421-218-7196 _______________________________________________ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool