]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: Do not exit when an unknown library name is passed
authorGary V. Vaughan <gary@gnu.org>
Mon, 17 May 1999 15:53:58 +0000 (15:53 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 17 May 1999 15:53:58 +0000 (15:53 +0000)
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>

ChangeLog
ltmain.in

index cf80c2ab997ba06da54d87630fcdfcb0176c4505..cdb4bca5a16de32c86ada653f9f906d0ca27a3b4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 884a29702f497ecbd273cff7538a477b44bf5c05..f868fc6b3a488fd9629eefaf589fcfd1782abb75 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -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