Jim Meyering <[EMAIL PROTECTED]> writes:
> In sh-utils, with your largefile.m4 change, I now get this:
>
> In file included from regex.c:31:
> ../config.h:955: warning: `_GNU_SOURCE' redefined
> regex.c:28: warning: this is the location of the previous definition
To avoid this, you can simply write in the config.h.in:
#ifndef _GNU_SOURCE
#undef _GNU_SOURCE
#endif
Then config.status will modify the middle line but keep the two others
intact, thus avoiding the warning. Similar to what is done for _ALL_SOURCE
(AIX).
Bruno