libtool-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Libtool branch, master, updated. v2.4.2-75-ga5ef081


From: Gary V. Vaughan
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.2-75-ga5ef081
Date: Wed, 16 Nov 2011 05:17:45 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  a5ef08182ce0fb80b8adcff5872f190afd915908 (commit)
       via  7285b13522e6ceae95b571e5fed8c900dc9a6ead (commit)
      from  88224124e4f57166cdcc78be29730372762a147e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a5ef08182ce0fb80b8adcff5872f190afd915908
Author: Gary V. Vaughan <address@hidden>
Date:   Wed Nov 16 12:13:55 2011 +0700

    bootstrap: display accurate usage message.
    
    After splitting bootstrap up, we also lost bootstraps usage
    message, and were incorrectly displaying a partial extract-trace
    message.
    * bootstrap (usage): Set appropriately.
    
    Signed-off-by: Gary V. Vaughan <address@hidden>

commit 7285b13522e6ceae95b571e5fed8c900dc9a6ead
Author: Gary V. Vaughan <address@hidden>
Date:   Wed Nov 16 12:04:02 2011 +0700

    bootstrap: accept --gnulib-srcdir=/path/to/gnulib again.
    
    During the split of bootstrap into options-parser and
    extract-trace, the generic long-option splitting code got lost.
    * libltdl/config/options-parser (func_parse_options): Add the
    code to split any long option separated by an equals from its
    optarg back in.
    Reported by Roumen Petrov.
    
    Signed-off-by: Gary V. Vaughan <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 bootstrap                     |    2 ++
 libltdl/config/options-parser |    9 ++++++++-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/bootstrap b/bootstrap
index fce5a8f..d18316a 100755
--- a/bootstrap
+++ b/bootstrap
@@ -2267,6 +2267,8 @@ func_update_po_files ()
 # Hook in the functions to make sure our own options are parsed during
 # the option parsing loop.
 
+usage='$progpath [OPTION]...'
+
 # Short help message in response to `-h'.  Add to this in `bootstrap.conf'
 # if you accept any additional options.
 usage_message='Common Bootstrap Options:
diff --git a/libltdl/config/options-parser b/libltdl/config/options-parser
index 4f03dce..5400833 100644
--- a/libltdl/config/options-parser
+++ b/libltdl/config/options-parser
@@ -433,9 +433,16 @@ func_parse_options ()
 
         --verbose|-v) opt_verbose=: ;;
         --version)    func_version ;;
-        -\?|-h)     func_usage ;;
+        -\?|-h)       func_usage ;;
         --help)       func_help ;;
 
+       # Separate optargs to long options (plugins may need this):
+       --*=*)        func_split_equals "$opt"
+                     set dummy "$func_split_equals_lhs" \
+                          "$func_split_equals_rhs" ${1+"$@"}
+                      shift
+                      ;;
+
         # Separate non-argument short options:
         -\?*|-h*|-v*|-x*)
                       func_split_short_opt "$_G_opt"


hooks/post-receive
-- 
GNU Libtool



reply via email to

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