diff options
author | Manish Singh <yosh@src.gnome.org> | 1999-06-02 18:43:45 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 1999-06-02 18:43:45 +0000 |
commit | ed49525102be3f9db6300dae0d369a92c19b2e66 (patch) | |
tree | c668b8cf3e369c506bce1d7138a250b95aec96b4 /ltmain.sh | |
parent | 9435cf9bfd34653cc36956e670d76ede2c7736a6 (diff) | |
download | glib-ed49525102be3f9db6300dae0d369a92c19b2e66.tar.gz |
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 |