From: Paul Berrevoets Date: Mon, 20 Nov 2000 22:03:43 +0000 (+0000) Subject: * ltmain.in: Some versions of expr respond with "0" if a X-Git-Tag: release-1-3d~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99d3e1b7bda6195af8d5d8cb910d319419cc6642;p=thirdparty%2Flibtool.git * ltmain.in: Some versions of expr respond with "0" if a regexp fails to match. --- diff --git a/ChangeLog b/ChangeLog index 88dfed7eb..8d538171e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ -2000-11-19 Paul Berrevoets +2000-11-20 Paul Berrevoets + + * ltmain.in: Some versions of expr respond with "0" if a + regexp fails to match. + +2000-11-19 Paul Berrevoets * libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote the $ in $#, $2 and $3 in variable 'archive_expsym_cmds' for cygwin. diff --git a/doc/PLATFORMS b/doc/PLATFORMS index e4c81aad6..df23e9214 100644 --- a/doc/PLATFORMS +++ b/doc/PLATFORMS @@ -13,7 +13,7 @@ alpha*-unknown-linux-gnu gcc 1.3b ok hppa2.0w-hp-hpux11.00 cc 1.2f ok hppa2.0-hp-hpux10.20 cc 1.3.2 ok hppa1.1-hp-hpux10.20 gcc 1.2f ok -hppa1.1-hp-hpux10.20 cc 1.2f ok +hppa1.1-hp-hpux10.20 cc 1.3c ok (1.821) hppa1.1-hp-hpux10.10 gcc 1.2f ok hppa1.1-hp-hpux10.10 cc 1.2f ok hppa1.1-hp-hpux9.07 gcc 1.2f ok diff --git a/ltmain.in b/ltmain.in index f73f5cd2f..147e39cda 100644 --- a/ltmain.in +++ b/ltmain.in @@ -2443,7 +2443,7 @@ EOF for i in $deplibs; do name="`expr $i : '-l\(.*\)'`" # If $name is empty we are operating on a -L argument. - if test "$name" != "" ; then + if test "$name" != "" -a "$name" != "0"; then libname=`eval \\$echo \"$libname_spec\"` deplib_matches=`eval \\$echo \"$library_names_spec\"` set dummy $deplib_matches @@ -2468,7 +2468,7 @@ EOF for i in $deplibs; do name="`expr $i : '-l\(.*\)'`" # If $name is empty we are operating on a -L argument. - if test "$name" != "" ; then + if test "$name" != "" -a "$name" != "0"; then $rm conftest $CC -o conftest conftest.c $i # Did it work? @@ -2508,7 +2508,7 @@ EOF for a_deplib in $deplibs; do name="`expr $a_deplib : '-l\(.*\)'`" # If $name is empty we are operating on a -L argument. - if test "$name" != "" ; then + if test "$name" != "" -a "$name" != "0"; then libname=`eval \\$echo \"$libname_spec\"` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null`