Commit 7caff3f9 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Moved SAC_GNU_SOURCE into sac-general.m4

darcs-hash:20050915065557-65a35-4e663886c7ffb35b072f07d6d119b28130ce202c.gz
parent b605b0a8
......@@ -419,3 +419,14 @@ AC_ARG_ENABLE(ndebug,
, enable_ndebug=no)
AM_CONDITIONAL(NDEBUG, test x$enable_ndebug = yes)
])
dnl ======================================================================
dnl SAC_GNU_SOURCE
dnl ======================================================================
AC_DEFUN([SAC_GNU_SOURCE],[
AH_VERBATIM([_GNU_SOURCE],
[/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif])])
......@@ -16,16 +16,6 @@ AC_ARG_WITH(rt,
[ --with-rt use POSIX realtime library (used by default)])
])
dnl ======================================================================
dnl SAC_GNU_SOURCE
dnl ======================================================================
AC_DEFUN([SAC_GNU_SOURCE],[
AH_VERBATIM([_GNU_SOURCE],
[/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif])])
dnl ======================================================================
dnl SAC_CHECK_SU_LIBS - check for libraries used by su
dnl ======================================================================
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment