From: Bruno Haible Date: Tue, 26 Aug 2003 18:23:35 +0000 (+0000) Subject: Fix a build problem with AIX 3.2.5 xlc. X-Git-Tag: v0.13~296 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeea9a7e5a16a01b81513f2549211812eb58ed9b;p=thirdparty%2Fgettext.git Fix a build problem with AIX 3.2.5 xlc. --- diff --git a/gettext-tools/m4/ChangeLog b/gettext-tools/m4/ChangeLog index cf9b21623..e3550425e 100644 --- a/gettext-tools/m4/ChangeLog +++ b/gettext-tools/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-24 Bruno Haible * relocatable.m4 (AC_RELOCATABLE): Use $(host) instead of @host@, diff --git a/gettext-tools/m4/fnmatch.m4 b/gettext-tools/m4/fnmatch.m4 index d281d9ef2..befb73e27 100644 --- a/gettext-tools/m4/fnmatch.m4 +++ b/gettext-tools/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