changeset 4612:3e3decc75fcd

Avoid havoc with AIX 3.2.5 xlc.
author Bruno Haible <bruno@clisp.org>
date Thu, 28 Aug 2003 19:38:48 +0000
parents 35fed2680490
children 83911a1c98c3
files m4/ChangeLog m4/fnmatch.m4
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -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
--- a/m4/fnmatch.m4
+++ b/m4/fnmatch.m4
@@ -74,8 +74,6 @@
 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