diff options
Diffstat (limited to 'source4/build/m4')
-rw-r--r-- | source4/build/m4/rewrite.m4 | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4 index 268b07b297..a6addcf91a 100644 --- a/source4/build/m4/rewrite.m4 +++ b/source4/build/m4/rewrite.m4 @@ -8,12 +8,7 @@ AC_SUBST(LDSHFLAGS) AC_SUBST(SONAMEFLAG) AC_SUBST(PICFLAG) -AH_VERBATIM([_GNU_SOURCE], -[/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE -#endif]) - +AC_DEFINE([_GNU_SOURCE],[],[Pull in GNU extensions]) AC_SYS_LARGEFILE # @@ -971,11 +966,6 @@ fi # Check for comparison_fn_t AC_CACHE_CHECK([for comparison_fn_t],samba_cv_HAVE_COMPARISON_FN_T,[ AC_TRY_COMPILE([ -/* Enable GNU extensions on systems that have them */ -/* as comparison_fn_t is defined under __USE_GNU on these */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE -#endif #include <stdlib.h> int list_find(const void *needle, const void *base, size_t nmemb, size_t size, comparison_fn_t comp_fn) |