]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (-L*): do not abort just because a directory specified
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Fri, 2 Apr 1999 13:41:53 +0000 (13:41 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Fri, 2 Apr 1999 13:41:53 +0000 (13:41 +0000)
with -L does not exist; just warn and discard it

ChangeLog
ltmain.in

index 7cc12eb5264e8bccaf02c3f2d38625fa3e5bda41..78084b9beb9ee3cd375d260528d87b4794855de2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-04-02  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * ltmain.in (-L*): do not abort just because a directory specified 
+       with -L does not exist; just warn and discard it
+
        * depdemo/l1/Makefile.am (AUTOMAKE_OPTIONS): no-dependencies
        * depdemo/l2/Makefile.am (AUTOMAKE_OPTIONS): ditto
        * depdemo/l3/Makefile.am (AUTOMAKE_OPTIONS): ditto
index 6a71a32ddbc67d8a264d12eda1da093d2c230425..f3c2d3eed3909a8e992980024367220970627cd4 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -997,8 +997,8 @@ compiler."
        dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
        if test -d "$dir"; then :
        else
-         $echo "$modename: directory \`$dir' does not exist" 1>&2
-         exit 1
+         $echo "$modename: directory \`$dir' does not exist, dropping it" 1>&2
+         continue
        fi
        # We need an absolute path.
        case "$dir" in