From 3be6aa0fd413510f60ff788de099d7002c41e38c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 28 Aug 2003 19:38:48 +0000 Subject: [PATCH] Avoid havoc with AIX 3.2.5 xlc. --- m4/ChangeLog | 6 ++++++ m4/fnmatch.m4 | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/m4/ChangeLog b/m4/ChangeLog index d8cfa88968..d973385a7a 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,9 @@ +2003-08-26 Bruno Haible + + * 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 * mkstemp.m4: Require that the system mkstemp be able to create diff --git a/m4/fnmatch.m4 b/m4/fnmatch.m4 index d281d9ef29..befb73e277 100644 --- a/m4/fnmatch.m4 +++ b/m4/fnmatch.m4 @@ -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 -- 2.30.2