]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote the $ in $#, $2 and
authorPaul Berrevoets <paul@swi.com>
Sun, 19 Nov 2000 03:41:27 +0000 (03:41 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sun, 19 Nov 2000 03:41:27 +0000 (03:41 +0000)
$3 in variable 'archive_expsym_cmds' for cygwin.

ChangeLog
libtool.m4

index ef44135e41a74b71be09fb67f176a405b9e9c8dd..88dfed7ebec78f97fdd618026c1fb6271f045489 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-19  Paul Berrevoets  <paul@swi.com>       
+       
+       * libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote the $ in $#, $2 and
+       $3 in variable 'archive_expsym_cmds' for cygwin.
+
 2000-11-19  Gary V. Vaughan  <gvv@techie.com>
 
        * ltdl.c: Relegate non-POSIX-compliant symbols (e.g. those
index ca9831f5701815bfe182afb29d5b2ddd43be7e1e..9170b37a53d52fc455979ddead4a6bd1327c5a54 100644 (file)
@@ -1083,9 +1083,9 @@ EOF
       _lt_hint=1;
       cat $export_symbols | while read symbol; do
        set dummy \$symbol;
-       case \$# in
-         2) echo "     \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
-         *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
+       case \[$]# in
+         2) echo "     \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
+         *) echo "     \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
        esac;
        _lt_hint=`expr 1 + \$_lt_hint`;
       done~