[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: bug#9141: [PATCH 1/3] extensions: Enable extensions on MacOS X 10.5
From: |
Voelker, Bernhard |
Subject: |
RE: bug#9141: [PATCH 1/3] extensions: Enable extensions on MacOS X 10.5 and later. |
Date: |
Mon, 25 Jul 2011 07:59:04 +0200 |
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