Paul Eggert wrote: > diff --git a/m4/extensions.m4 b/m4/extensions.m4 > index 1330503..22156e0 100644 > --- a/m4/extensions.m4 > +++ b/m4/extensions.m4 > @@ -1,4 +1,4 @@ > -# serial 9 -*- Autoconf -*- > +# serial 10 -*- Autoconf -*- > # Enable extensions on systems that normally disable them. > > # Copyright (C) 2003, 2006-2011 Free Software Foundation, Inc. > @@ -67,6 +67,10 @@ AC_BEFORE([$0], [AC_RUN_IFELSE])dnl > #ifndef _ALL_SOURCE > # undef _ALL_SOURCE > #endif > +/* Enable general extensions on MacOS X. */ > +#ifndef _DARWIN_C_SOURCE > +# undef _DARWIN_C_SOURCE > +#endif
maybe it's too early in the morning for me ... but isn't this a NOP: "if X is not defined, then undefine it"? Berny