diff options
author | Jim Meyering <jim@meyering.net> | 2000-07-09 17:24:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-07-09 17:24:27 +0000 |
commit | 07cdecb35d095d4afcd03178208b7557834f2ff0 (patch) | |
tree | e84dfae146cfeb24c907348197cc74d66860a944 /m4 | |
parent | a6ecdec89c437b664589d3aa5c77e95a31dceb2e (diff) | |
download | coreutils-07cdecb35d095d4afcd03178208b7557834f2ff0.tar.xz |
(jm_CHECK_ALL_TYPES): Require it.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/jm-macros.m4 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index 35bc9e1de..6ed662cfd 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -207,11 +207,10 @@ AC_DEFUN(jm_MACROS, # This macro must be invoked before any tests that run the compiler. AC_DEFUN(jm_CHECK_ALL_TYPES, [ - # Emit this code into config.h.in. - # The ifndef is to avoid redefinition warnings. - AH_VERBATIM([_GNU_SOURCE], [#ifndef _GNU_SOURCE -# define _GNU_SOURCE -#endif]) + # FIXME: I shouldn't have to require this macro here. Rather, it should + # be required by any autoconf macro that performs a compile-time test or + # otherwise uses confdefs.h. + AC_REQUIRE([AC__GNU_SOURCE]) dnl This test must come as early as possible after the compiler configuration dnl tests, because the choice of the file model can (in principle) affect |