Avoid havoc with AIX 3.2.5 xlc.
authorBruno Haible <bruno@clisp.org>
Thu, 28 Aug 2003 19:38:48 +0000 (19:38 +0000)
committerBruno Haible <bruno@clisp.org>
Thu, 28 Aug 2003 19:38:48 +0000 (19:38 +0000)
m4/ChangeLog
m4/fnmatch.m4

index d8cfa88..d973385 100644 (file)
@@ -1,3 +1,9 @@
+2003-08-26  Bruno Haible  <bruno@clisp.org>
+
+       * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
+       This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
+       followed by '#define fnmatch fnmatch_posix' gives an error.
+
 2003-08-27  Jim Meyering  <jim@meyering.net>
 
        * mkstemp.m4: Require that the system mkstemp be able to create
index d281d9e..befb73e 100644 (file)
@@ -74,8 +74,6 @@ AC_CHECK_FUNCS([btowc mbsrtowcs mempcpy wmempcpy])
 AC_CHECK_HEADERS([wchar.h wctype.h])
 AC_LIBOBJ([fnmatch])
 FNMATCH_H=fnmatch.h
-AC_DEFINE(fnmatch, rpl_fnmatch,
-          [Define to rpl_fnmatch if the replacement function should be used.])
 ])# _AC_LIBOBJ_FNMATCH