From a09d28a146aa2a4456d77217ee424fd32949d967 Mon Sep 17 00:00:00 2001 From: Paul Berrevoets Date: Sun, 19 Nov 2000 03:41:27 +0000 Subject: [PATCH] * libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote the $ in $#, $2 and $3 in variable 'archive_expsym_cmds' for cygwin. --- ChangeLog | 5 +++++ libtool.m4 | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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~ -- 2.47.3