]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
tests: work around zsh use of $options variable.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 12 Sep 2010 14:38:46 +0000 (16:38 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 12 Sep 2010 14:47:31 +0000 (16:47 +0200)
* tests/getopt-m4sh.at: Rename $options to $opts, the former is
special for zsh 4.3.10.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/getopt-m4sh.at

index 4e8557ba294f715223c65cd509029d30a429ca87..b9abe8a372f3df9640910f1fe6f9d25f8347ea1a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-09-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       tests: work around zsh use of $options variable.
+       * tests/getopt-m4sh.at: Rename $options to $opts, the former is
+       special for zsh 4.3.10.
+
        Fix AC_NO_EXECUTABLES test failure on IRIX 6.5.
        * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [irix]: Cache result
        of link check for -Wl,-exported_symbol.
index 1c2ac26492eb626587673a3ee39b009c6d4f6e8b..75a7bf6d3d45a05750fa7c1c4e010bf944570c7c 100644 (file)
@@ -37,14 +37,14 @@ AT_DATA([options.m4sh],
 nl='
 '
 list=
-options=
+opts=
 M4SH_GETOPTS(
   [a!],        [--append],     [],     [func_append list "$optarg$nl"],
-  [f], [--force],      [],     [options="$options force"],
-  [i], [--install],    [],     [options="$options install"],
-  [v], [--verbose],    [],     [options="$options verbose"],
-  [!], [--ltdl],       [false],[options="$options ltdl=$optarg"],
-[echo "$list" $options])
+  [f], [--force],      [],     [opts="$opts force"],
+  [i], [--install],    [],     [opts="$opts install"],
+  [v], [--verbose],    [],     [opts="$opts verbose"],
+  [!], [--ltdl],       [false],[opts="$opts ltdl=$optarg"],
+[echo "$list" $opts])
 ]])
 m4_pattern_forbid([m4_include])
 m4_pattern_forbid([AS_INIT])