]> 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:58:02 +0000 (15:58 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 17 May 1999 15:58:02 +0000 (15:58 +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 22d5c1b38fd99cbdd5dd105b4cbb05edfc412da7..cab9207469bdc183149fa3220560d2ed929ad8b2 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 34fef091c2239587813d2cfc9a0978103992f324..64ce0c6bd4f9694277742585a5cc55861c313f06 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1021,8 +1021,9 @@ compiler."
        *)
          absdir=`cd "$dir" && pwd`
          if test -z "$absdir"; then
-           $echo "$modename: cannot determine absolute directory name of \`$dir'" 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
          dir="$absdir"
          ;;
@@ -1294,8 +1295,9 @@ compiler."
          *)
            absdir=`cd "$dir" && pwd`
            if test -z "$absdir"; then
-             $echo "$modename: cannot determine absolute directory name of \`$dir'" 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