mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-01 15:25:27 +08:00
* ltmain.in: Some versions of expr respond with "0" if a
regexp fails to match.
This commit is contained in:
parent
a09d28a146
commit
99d3e1b7bd
@ -1,4 +1,9 @@
|
||||
2000-11-19 Paul Berrevoets <paul@swi.com>
|
||||
2000-11-20 Paul Berrevoets <paul@swi.com>
|
||||
|
||||
* ltmain.in: Some versions of expr respond with "0" if a
|
||||
regexp fails to match.
|
||||
|
||||
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.
|
||||
|
@ -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
|
||||
|
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user