diff options
author | Manish Singh <yosh@src.gnome.org> | 1999-06-02 18:45:22 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 1999-06-02 18:45:22 +0000 |
commit | eefbd04215e3d1c891efaacb5d076564244e802d (patch) | |
tree | 7ef3fa171ef22c8233e4cd543e3adc4da04506e7 /ltmain.sh | |
parent | 1d375ea289c53f8a1d67f4f0f29428981b83e947 (diff) | |
download | gtk+-eefbd04215e3d1c891efaacb5d076564244e802d.tar.gz |
upgrade to libtool 1.3.2 (BeOS changes merged)
-Yosh
Diffstat (limited to 'ltmain.sh')
-rw-r--r-- | ltmain.sh | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -54,8 +54,8 @@ modename="$progname" # Constants. PROGRAM=ltmain.sh PACKAGE=libtool -VERSION=1.3 -TIMESTAMP=" (1.385.2.117 1999/04/29 13:07:13)" +VERSION=1.3.2 +TIMESTAMP=" (1.385.2.150 1999/05/26 00:28:32)" default_mode= help="Try \`$progname --help' for more information." @@ -466,6 +466,7 @@ compiler." command="$command -o $output_obj" fi + $run $rm "$output_obj" $show "$command" if $run eval "$command"; then : else @@ -545,6 +546,7 @@ compiler." # Suppress compiler output if we already did a PIC compilation. command="$command$suppress_output" + $run $rm "$output_obj" $show "$command" if $run eval "$command"; then : else @@ -1024,8 +1026,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" ;; @@ -1297,8 +1300,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 @@ -1905,7 +1909,7 @@ EOF potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do # Follow soft links. - if ls -lLd "$potlib" 2>/dev/null \ + if ls -lLd "$potent_lib" 2>/dev/null \ | grep " -> " >/dev/null; then continue fi |