* ltmain.in: Be careful about filenames with multiple `.'s in

them when calculating file extensions.
Reported by Joel Reed <jreed@support.ddiworld.com>
This commit is contained in:
Michael Matz 2000-09-12 23:26:49 +00:00 committed by Gary V. Vaughan
parent 2b5fa736e6
commit 568b6f4983
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2000-09-12 Michael Matz <matz@ifh.de>
* ltmain.in: Be careful about filenames with multiple `.'s in
them when calculating file extensions.
Reported by Joel Reed <jreed@support.ddiworld.com>
2000-09-12 Gary V. Vaughan <gvv@techie.com>
libtool.m4 (AC_PROG_LIBTOOL): Removed, as it was triggering a

View File

@ -466,7 +466,7 @@ if test -z "$show_help"; then
# Calculate the filename of the output object if compiler does
# not support -o with -c
if test "$compiler_c_o" = no; then
output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\..*$%%'`.${objext}
output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
lockfile="$output_obj.lock"
removelist="$removelist $output_obj $lockfile"
trap "$run $rm $removelist; exit 1" 1 2 15