From: Jim Meyering Date: Fri, 16 Jan 2004 09:03:32 +0000 (+0000) Subject: (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here. X-Git-Tag: v5.1.1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fce898e6b22bc7142bbffa8cf0282ec048deee4d;p=thirdparty%2Fcoreutils.git (_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. --- diff --git a/m4/fnmatch.m4 b/m4/fnmatch.m4 index b58db43664..ba2a88f598 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