[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] fix fnmatch.m4 for AIX xlc
From: |
Jim Meyering |
Subject: |
Re: [Bug-gnulib] fix fnmatch.m4 for AIX xlc |
Date: |
Thu, 28 Aug 2003 19:20:22 +0200 |
Bruno Haible <address@hidden> wrote:
> The current fnmatch.m4 test causes havoc when used with AIX 3.2.5 xlc:
> It causes the following definitions to be put into confdefs.h
>
> #define fnmatch rpl_fnmatch
> #define fnmatch posix_fnmatch
>
> and this causes every autoconf test that comes after gl_FUNC_FNMATCH_POSIX
> to fail. E.g. I get a wrong definition of 'off_t' because of this.
>
> Here is a fix. Any objections?
>
> 2003-08-26 Bruno Haible <address@hidden>
>
> * 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.
That looks like the right patch.
Thanks.