[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automake 1.8d: "Libtool library used but `LIBTOOL' is undefined"
From: |
Alexandre Duret-Lutz |
Subject: |
Re: automake 1.8d: "Libtool library used but `LIBTOOL' is undefined" |
Date: |
Thu, 29 Jul 2004 08:33:35 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
>>> "Stephan" == Stephan A Suerken <address@hidden> writes:
[...]
Stephan> src/Makefile.am:22: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
Stephan> src/Makefile.am:22: to `configure.ac' and run `aclocal' and
`autoconf' again.
Stephan> although AC_PROG_LIBTOOL _is_ present in configure.ac.
Therefore it means AC_PROG_LIBTOOL is not evaluated.
This is certainly because AC_PROG_LIBTOOL is not defined in aclocal.m4.
This is probably because aclocal does not see libtool.m4 in its search path.
This is might be because Automake and Libtool are installed with different
--prefix; for instance Libtool in /usr and Automake in /usr/local.
If that is your case, you can add /usr/share/aclocal to the search
path of the new aclocal using
echo /usr/share/aclocal > /usr/local/share/aclocal/dirlist
See the Automake manual's "Macro search path" section for more
discussion about dirlist.
--
Alexandre Duret-Lutz