automake
[Top][All Lists]
Advanced

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

Re: AC_PROG_LIBTOOL is not recognized in automake-1.4-p2


From: Lars Gullik Bjønnes
Subject: Re: AC_PROG_LIBTOOL is not recognized in automake-1.4-p2
Date: 12 Jun 2001 11:35:11 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7

| From: Kevin Dalley <kevind at rahul dot net>
| Date: 30 May 2001 18:28:45 -0700
| 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


This problem is still present in automake p4.

The libtool documentation says that AM_PROG_LIBTOOL is deprecated.

-- 
        Lgb



reply via email to

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