[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: [PATCH] bootstrap: accept --gnulib-srcdir=/path/to/gnulib again.
From: |
Gary V. Vaughan |
Subject: |
FYI: [PATCH] bootstrap: accept --gnulib-srcdir=/path/to/gnulib again. |
Date: |
Wed, 16 Nov 2011 12:10:22 +0700 |
Applied as obvious.
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>
---
libltdl/config/options-parser | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
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"
--
1.7.7.3
Cheers,
--
Gary V. Vaughan (gary AT gnu DOT org)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: [PATCH] bootstrap: accept --gnulib-srcdir=/path/to/gnulib again.,
Gary V. Vaughan <=