bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in libtoolize 1.5.22: check for AC_LIB_LTDL fails with aclocal 1.9.6


From: Sebastian Huebner
Subject: Bug in libtoolize 1.5.22: check for AC_LIB_LTDL fails with aclocal 1.9.6
Date: Tue, 18 Jul 2006 10:24:49 +0200
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

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 <address@hidden>
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]