[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libtool 2.2 and updating aclocal.m4
From: |
Olly Betts |
Subject: |
libtool 2.2 and updating aclocal.m4 |
Date: |
Wed, 19 Mar 2008 03:22:34 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Congratulations on finally getting a new major release out!
I've been checking out libtool 2.2 with Xapian (http://xapian.org/) and have
found a couple of problems so far. One is already fixed in CVS; the other
is described below.
I've been testing on x86-64 Ubuntu gutsy so far.
To make sure the problem isn't caused by distro-specific patches, I installed
vanilla autoconf 2.61, automake 1.10.1, along with CVS HEAD libtool under the
default prefix (/usr/local) and /usr/local/bin is first in PATH.
$ autoreconf --force --install
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize: `/usr/local/share/aclocal/libtool.m4'
libtoolize: `/usr/local/share/aclocal/ltoptions.m4'
libtoolize: `/usr/local/share/aclocal/ltversion.m4'
libtoolize: `/usr/local/share/aclocal/ltsugar.m4'
libtoolize: `/usr/local/share/aclocal/lt~obsolete.m4'
$
Looking at aclocal.m4, it already appears to contain the contents of those
files, and everything seems to build OK.
This seems to be a regression from libtool 1.5.26. I installed vanilla
autoconf 2.61, automake 1.10.1, and libtool 1.5.26 all configured with
--prefix=/opt and added /opt/bin to the start of PATH. Then I get:
$ autoreconf --force --install
$
Experimenting with the individual commands which autoreconf runs, I notice
that libtool CVS HEAD's libtoolize --force always reports as above, whereas
1.5.26's libtoolize --force is silent if aclocal.m4 is up to date, and if
it needs updating, it reports:
You should update your `aclocal.m4' by running aclocal.
I've cut down the Xapian source tree to a small example, which you can
download from here:
http://www.survex.com/~olly/omega-0.0.1.tar.gz
Cheers,
Olly
- libtool 2.2 and updating aclocal.m4,
Olly Betts <=