libtool-patches
[Top][All Lists]
Advanced

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

FYI: [PATCH 4/4] maint: add autobuild prerequisite only if autobuild.m4


From: Gary V. Vaughan
Subject: FYI: [PATCH 4/4] maint: add autobuild prerequisite only if autobuild.m4 is absent.
Date: Mon, 31 Oct 2011 22:04:22 +0700

As discussed on another thread[1].  Applied as obvious, and also pending 
acceptance
in upstream gnulib.

[1]: http://lists.gnu.org/archive/html/libtool-patches/2011-10/msg00020.html

* bootstrap (func_require_autobuild_buildreq): Skip if autobuild.m4
is already present.
* bootstrap.conf (require_autobuild_bulidreq): No need to set this
specially any more.

Signed-off-by: Gary V. Vaughan <address@hidden>
---
 bootstrap      |    6 +++++-
 bootstrap.conf |    3 ---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/bootstrap b/bootstrap
index 120ba94..ecfa39b 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1248,7 +1248,11 @@ func_require_autobuild_buildreq ()
 {
     $debug_cmd
 
-    printf '%s\n' "$buildreq" |func_grep_q '^[  ]*autobuild' || {
+    $require_macro_dir
+
+    test -f "$macro_dir/autobuild.m4" \
+        || printf '%s\n' "$buildreq" |func_grep_q '^[   ]*autobuild' \
+        || {
       $require_configure_ac
 
       func_extract_trace AB_INIT
diff --git a/bootstrap.conf b/bootstrap.conf
index db4ab88..116023c 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -438,9 +438,6 @@ func_add_hook func_fini libtool_cleanup_empty_dirs
 ## Resource management. ##
 ## -------------------- ##
 
-# Although autobuild is awesome, libtool will bootstrap without it.
-require_autobuild_buildreq=:
-
 # require_package_url
 # -------------------
 # Ensure that package_url has a sensible default.
-- 
1.7.7.1

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)


reply via email to

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