From 02d6e283c0d28e99bc005c1613c51ff2a328a70d Mon Sep 17 00:00:00 2001 From: ayin Date: Mon, 10 Dec 2007 23:41:15 +0000 Subject: [PATCH] Use AC_GNU_SOURCE rather than defining _GNU_SOURCE directly. --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 381e1edc..e381288c 100644 --- a/configure.ac +++ b/configure.ac @@ -32,6 +32,7 @@ AC_PROG_CPP AC_PROG_INSTALL AC_AIX +AC_GNU_SOURCE AC_ISC_POSIX AC_LANG(C++) @@ -70,8 +71,6 @@ if test -z "$orig_CXXFLAGS"; then CFLAGS="$CXXFLAGS" fi -AC_DEFINE(_GNU_SOURCE, 1, Use all glibc features.) - case $host in *-*-solaris* ) AC_DEFINE(_XOPEN_SOURCE, 500, Needed to get declarations for msg_control and msg_controllen on Solaris) -- 2.34.1