configure: use Autobuild AB_INIT if available.

* configure.ac: Call AB_INIT if it is defined, with
$autobuild_mode as argument, to be set at configure time.
Set AB_VERSION to the Libtool version string.
* HACKING: Update.
* libltdl/m4/.gitignore: Ignore autobuild.m4.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2010-08-22 20:33:49 +02:00
parent 3160ead171
commit 92d24b3d80
4 changed files with 25 additions and 3 deletions

View File

@ -1,5 +1,11 @@
2010-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
configure: use Autobuild AB_INIT if available.
* configure.ac: Call AB_INIT if it is defined, with
$autobuild_mode as argument, to be set at configure time.
Set AB_VERSION to the Libtool version string.
* HACKING: Update.
Fix getopt tests to skip with Autoconf < 2.61.
* tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Skip the test
if 'autom4te --language=m4sh' exits 63 because version 2.61 is

View File

@ -601,7 +601,9 @@ or obtained by writing to the Free Software Foundation, Inc.,
(esp. bug-libtool) for outstanding bug reports also in the list of
pending moderation requests.
* Make sure you have wget and lzma installed.
* Make sure you have wget, lzma, and autobuild installed. aclocal should be
able to find autobuild.m4; or you can install it into the tree with
aclocal -I libltdl/m4 --install
* Make sure your locale is sane, e.g. by exporting LC_ALL=C.
@ -717,8 +719,8 @@ or obtained by writing to the Free Software Foundation, Inc.,
which will automatically propogate to http://planet.gnu.org.
--
Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation,
Inc.
Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Free Software
Foundation, Inc.
Written by Gary V. Vaughan, 2004
This file is part of GNU Libtool.

View File

@ -127,6 +127,19 @@ dnl These are bootstrap requirements! Once built, libtool may work with
dnl much older releases of autoconf and automake. See release notes.
AM_INIT_AUTOMAKE([1.10.1 gnu subdir-objects dist-lzma])
## ------------------------- ##
## Autobuild initialisation. ##
## ------------------------- ##
# You can set autobuild_mode at configure time to specify a "unique"
# string for this build.
: ${autobuild_mode=default}
AB_VERSION="AC_PACKAGE_VERSION ($TIMESTAMP)"
m4_ifdef([AB_INIT],
[AB_INIT([$autobuild_mode])])
dnl We use m4sh to generate libtool's portable shell scripts
AC_SUBST([M4SH], ['$(AUTOM4TE) --language=m4sh'])

View File

@ -1 +1,2 @@
ltversion.m4
autobuild.m4