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-04 Alexandre Oliva <aoliva@redhat.com>
* tests/*.test (CONFIG_SITE): Ultrix's /bin/sh fails on
# 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