diffutils/m4/gnu-source.m4
Paul Eggert 6756cc9358 Update to latest Autoconf CVS for AC_GNU_SOURCE
(renamed from AC__GNU_SOURCE).
2002-06-11 06:06:32 +00:00

13 lines
300 B
Plaintext

# AC_GNU_SOURCE
# --------------
AC_DEFUN([AC_GNU_SOURCE],
[AH_VERBATIM([_GNU_SOURCE],
[/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif])dnl
AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
AC_DEFINE([_GNU_SOURCE])
])