* configure.ac: Use match_.s instead of _match.s.
* Makefile.am (MOSTLYCLEANFILES): Likewise.
* lib/Makefile.am (match.$(OBJEXT)): Likewise.
(MOSTLYCLEANFILES): Likewise.
+2006-12-05 Bruno Haible <bruno@clisp.org> (tiny change)
+ and Paul Eggert <eggert@cs.ucla.edu>
+
+ Fix build failure on case-insensitive file systems.
+ * configure.ac: Use match_.s instead of _match.s.
+ * Makefile.am (MOSTLYCLEANFILES): Likewise.
+ * lib/Makefile.am (match.$(OBJEXT)): Likewise.
+ (MOSTLYCLEANFILES): Likewise.
+
2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Document the fixes below.
MAINTAINERCLEANFILES = gzip.doc
-MOSTLYCLEANFILES = _match.s _match.S gzexe zdiff zforce zgrep zless zmore znew
+MOSTLYCLEANFILES = match_.s _match.S gzexe zdiff zforce zgrep zless zmore znew
*' NO_ASM '*) ;;
*)
if cp $srcdir/lib/match.c _match.S &&
- eval "$ASCPP _match.S > _match.s 2>/dev/null"; then
- if test ! -s _match.s || grep error < _match.s > /dev/null; then
+ eval "$ASCPP _match.S > match_.s 2>/dev/null"; then
+ if test ! -s match_.s || grep error < match_.s > /dev/null; then
:
- elif eval "$CC -c _match.s >/dev/null 2>&1" &&
- test -f _match.$OBJEXT; then
+ elif eval "$CC -c match_.s >/dev/null 2>&1" &&
+ test -f match_.$OBJEXT; then
gzip_cv_assembler=yes
fi
fi
- rm -f _match.S _match.s _match.$OBJEXT;;
+ rm -f _match.S match_.s match_.$OBJEXT;;
esac])
if test $gzip_cv_assembler = yes; then
AC_DEFINE(ASMV, ,
match.$(OBJEXT): match.c
cp $(srcdir)/match.c _match.S
- $(ASCPP) _match.S >_match.s
- $(CC) -c $(CFLAGS) _match.s
- mv _match.$(OBJEXT) match.$(OBJEXT)
- rm -f _match.S _match.s
+ $(ASCPP) _match.S > match_.s
+ $(CC) -c $(CFLAGS) match_.s
+ mv match_.$(OBJEXT) $@
+ rm -f _match.S match_.s
-MOSTLYCLEANFILES += _match.S _match.s
+MOSTLYCLEANFILES += _match.S match_.s