* ltmain.in (-L*): do not abort just because a directory specified

with -L does not exist; just warn and discard it
This commit is contained in:
Alexandre Oliva 1999-04-02 13:41:53 +00:00 committed by Alexandre Oliva
parent 602b4fc8c4
commit a517bc7a9f
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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