them when calculating file extensions.
Reported by Joel Reed <jreed@support.ddiworld.com>
+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
# 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