* ltmain.in (deplibs_check_method=none): discard -L and -R

switches when testing whether deplibs contains some library
This commit is contained in:
Alexandre Oliva 1999-03-14 10:56:23 +00:00 committed by Alexandre Oliva
parent 5f977cb540
commit d4d597e0ed
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
1999-03-14 Alexandre Oliva <oliva@dcc.unicamp.br>
* ltmain.in (deplibs_check_method=none): discard -L and -R
switches when testing whether deplibs contains some library
1999-03-14 Erez Zadok <ezk@cs.columbia.edu>
* config.sub: recognize hppa2.0w, yet to be installed at GNU

View File

@ -1868,8 +1868,9 @@ EOF
done # Gone through all deplibs.
;;
none | unknown | *) newdeplibs=""
if $echo "X$deplibs" | $Xsed -e 's/ -lc$//' -e 's/[ ]//g' \
| grep . >/dev/null; then
if $echo "X $deplibs" |
$Xsed -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g' -e 's/[ ]//g' |
grep . >/dev/null; then
echo
if test "X$deplibs_check_method" = "Xnone"; then
echo "*** Warning: inter-library dependencies are not supported in this platform."