]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
configure: use Autobuild AB_INIT if available.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 22 Aug 2010 18:33:49 +0000 (20:33 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 22 Aug 2010 18:35:06 +0000 (20:35 +0200)
* 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>
ChangeLog
HACKING
configure.ac
libltdl/m4/.gitignore

index 843f9426e07f00994bbabd63381ffaa4c6e0c022..49940236e4ddf1545380e0cdb8aa86b9e4e9b811 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/HACKING b/HACKING
index 7ea18185627e1a8ba01a9c0b4247d55559d40c67..19b4b66656ba04571ea16ec607ea0ce62924fe6d 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -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.
index 35c79f1e88d4e7e1f8959e8c8c6fcdeb2e501307..9690a056737c5ef570d3429e11083eeff7a5e467 100644 (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'])
 
index 0b52c5cf8afb788e83b7fd546f63142809b97857..81a10598c6b455b0d0b66d829ee0e6f4d6ca3fee 100644 (file)
@@ -1 +1,2 @@
 ltversion.m4
+autobuild.m4