automake
[Top][All Lists]
Advanced

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

AC_PROG_LIBTOOL is not recognized in automake-1.4-p2


From: Kevin Dalley
Subject: AC_PROG_LIBTOOL is not recognized in automake-1.4-p2
Date: 30 May 2001 18:28:45 -0700
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.4 (Copyleft)

AC_PROG_LIBTOOL is not recognized in automake-1.4-p2.

Without the patch below, I get an error which includes:

        library used but `LIBTOOL' not defined in `configure.in'

when I use lib_LTLIBRARIES in a Makefile.am file.

It would be very useful to have this patch in automake-1.4-p3.


Here's a patch from automake-1.4f which seems to solve the problem:

--- automake-1.4-p2.orig/automake.in
+++ automake-1.4-p2/automake.in
@@ -4281,8 +4281,18 @@
        $seen_prog_install = 1 if /AC_PROG_INSTALL/;
         $seen_lispdir = 1 if /AM_PATH_LISPDIR/;
 
-        if (/AM_PROG_LIBTOOL/)
+        if (/A(C|M)_PROG_LIBTOOL/)
        {
+           # We're not ready for this yet.  People still use a
+           # libtool with no AC_PROG_LIBTOOL.  Once that is the
+           # dominant version we can reenable this code -- but next
+           # time by mentioning the macro in %obsolete_macros, both
+           # here and in aclocal.in.
+
+           # if (/AM_PROG_LIBTOOL/)
+           # {
+           #   &am_conf_line_warning ($filename, $., "`AM_PROG_LIBTOOL' is 
obsolete, use `AC_PROG_LIBTOOL' instead");
+           # }
            $seen_libtool = 1;
            $libtool_line = $.;
            $configure_vars{'LIBTOOL'} = $filename . ':' . $.;




-- 
Kevin Dalley
address@hidden



reply via email to

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