+2004-10-11 Charles Wilson <spam.protected>
+
+ * tests/link.test: Fix check for use of libnlsut.a under
+ Cygwin.
+
+2004-10-11 Noah Misch <noah@cs.caltech.edu>
+
+ * tests/quote.test: Do not look for $preargs in the output,
+ because libtool may change them.
+
2004-10-10 Charles Wilson <spam.protected>
* config/ltmain.m4sh: Really don't require versions of GNU
# We used to have the contents of $match in the case statement,
# without an intermediate variable, but it would fail on at least
# Solaris' and HP-UX's /bin/sh. Ugh!
- match="$preargs ${preflag}${flag}test "
+ # We must not attempt to match $preargs in the output, because libtool
+ # may modify them. For example, on Cygwin, ``libtool --mode=link gcc -o
+ # foo foo.o'' becomes ``gcc -o foo.exe foo.o''.
+ match="${preflag}${flag}test "
case "$result" in
*"$match"*)
$ECHO "= passed: $result"
for mchar in \\ \" \` \$; do
$ECHO "= trying: \\$mchar quoting"
result=`$LIBTOOL -n --mode=$mode $preargs ${preflag}"${flag}${mchar}test${mchar}" $postargs` || status=$EXIT_FAILURE
- match="$preargs ${preflag}${flag}\\${mchar}test\\${mchar} "
+ match="${preflag}${flag}\\${mchar}test\\${mchar} "
case "$result" in
*"$match"*)
$ECHO "= passed: $result"
$ECHO "= trying: \"$mchar\" quoting"
result=`$LIBTOOL -n --mode=$mode $preargs ${preflag}"${flag}${mchar}test${mchar}" $postargs` || status=$EXIT_FAILURE
- match="$preargs ${preflag}\"${flag}${mchar}test${mchar}\" "
+ match="${preflag}\"${flag}${mchar}test${mchar}\" "
case "$result" in
*"$match"*)
$ECHO "= passed: $result"