]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (deplibs_check_method=none): discard -L and -R
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sun, 14 Mar 1999 10:56:23 +0000 (10:56 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sun, 14 Mar 1999 10:56:23 +0000 (10:56 +0000)
switches when testing whether deplibs contains some library

ChangeLog
ltmain.in

index d64d937d4b84e42c2cbb20ed48d3870ad4163978..7b5382045706eff4e08c3efa2301bef66e831608 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 3272ea8fe9615449428fb88b93556c9c293a002a..e7adb9bb2954decc9a4b9696c0b8d69242b228c9 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -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."