Mercurial > hg > octave-shane > gnulib-hg
changeset 2724:60a660766f7d
(jm_CHECK_ALL_TYPES): Require it.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 09 Jul 2000 17:24:27 +0000 |
parents | 00c728b0960f |
children | 3257099741e7 |
files | m4/jm-macros.m4 |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -207,11 +207,10 @@ # 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