* ltmain.in: Do not exit when an unknown library name is passed

passed in, simply warn and continue since some compilers require
-LANG:* like options to work.
Reported by Adam C. Powell, IV <adam.powell@nist.gov>
This commit is contained in:
Gary V. Vaughan 1999-05-17 15:53:58 +00:00
parent 71dc9a2ec9
commit 0d55a7031e
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,10 @@
1999-05-17 Gary V. Vaughan <gary@oranda.demon.co.uk>
* ltmain.in: Do not exit when an unknown library name is passed
passed in, simply warn and continue since some compilers require
-LANG:* like options to work.
Reported by Adam C. Powell, IV <adam.powell@nist.gov>
1999-05-17 Jiro Takabatake <jiro@din.or.jp>
* ltconfig.in: port to NEC UX/4800.

View File

@ -1630,8 +1630,9 @@ compiler."
*)
abs_ladir=`cd "$ladir" && pwd`
if test -z "$abs_ladir"; then
$echo "$modename: cannot determine absolute directory name of \`$ladir'" 1>&2
exit 1
$echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
$echo "$modename: passing it literally to the linker, although it might fail" 1>&2
absdir="$dir"
fi
;;
esac
@ -2548,8 +2549,9 @@ EOF
*)
abs_ladir=`cd "$ladir" && pwd`
if test -z "$abs_ladir"; then
$echo "$modename: cannot determine absolute directory name of \`$ladir'" 1>&2
exit 1
$echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
$echo "$modename: passing it literally to the linker, although it might fail" 1>&2
absdir="$dir"
fi
;;
esac