Index: libltdl/config/ltmain.m4sh =================================================================== RCS file: /cvsroot/libtool/libtool/libltdl/config/ltmain.m4sh,v retrieving revision 1.92 diff -u -r1.92 ltmain.m4sh --- libltdl/config/ltmain.m4sh 24 Nov 2007 08:00:21 -0000 1.92 +++ libltdl/config/ltmain.m4sh 19 Dec 2007 15:32:42 -0000 @@ -1513,6 +1513,11 @@ command="$command -o $lobj" fi +# XXXPW +echo after Place PIC objects +echo lobj: $lobj +echo output_obj: $output_obj +echo removelist: $removelist $opt_dry_run || $RM "$lobj" "$output_obj" func_show_eval "$command" \ @@ -6387,6 +6392,10 @@ esac # Delete the old objects. +# XXXPW +echo delete the old objects +echo obj: $obj +echo libobj: $libobj $opt_dry_run || $RM $obj $libobj # Objects from convenience libraries. This assumes @@ -6703,6 +6712,9 @@ # Replace the output file specification. link_command=`$ECHO "X$link_command" | $Xsed -e 'address@hidden@%'"$output"'%g'` # Delete the old output file. +# XXXPW +echo Delete the old output file +echo output: $output $opt_dry_run || $RM $output # Link the executable and exit func_show_eval "$link_command" 'exit $?' @@ -6817,6 +6829,9 @@ } ;; * ) +# XXXPW +echo before trap +echo output: $output $RM $output trap "$RM $output; exit $EXIT_FAILURE" 1 2 15