From: Paul Berrevoets Date: Sun, 19 Nov 2000 03:41:27 +0000 (+0000) Subject: * libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote the $ in $#, $2 and X-Git-Tag: release-1-3d~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a09d28a146aa2a4456d77217ee424fd32949d967;p=thirdparty%2Flibtool.git * libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote the $ in $#, $2 and $3 in variable 'archive_expsym_cmds' for cygwin. --- diff --git a/ChangeLog b/ChangeLog index ef44135e4..88dfed7eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-11-19 Paul Berrevoets + + * 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 * ltdl.c: Relegate non-POSIX-compliant symbols (e.g. those diff --git a/libtool.m4 b/libtool.m4 index ca9831f57..9170b37a5 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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~