From d58b2666e3f80aac47130e4157ab0be16dc847dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ralf=20Cors=C3=A9pius?= Date: Wed, 21 Nov 2007 16:51:57 +0100 Subject: [PATCH] Add AC_USE_SYSTEM_EXTENSIONS. Remove AC_AIX, AC_MINIX. Do not add -D_GNU_SOURCE to CFLAGS. --- configure.ac | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 069c0b4..fce9545 100644 --- a/configure.ac +++ b/configure.ac @@ -8,10 +8,9 @@ AM_INIT_AUTOMAKE([1.10 foreign tar-ustar dist-bzip2 subdir-objects nostdinc]) AC_CONFIG_TESTDIR(tests) -AC_DISABLE_STATIC +AC_USE_SYSTEM_EXTENSIONS -AC_AIX -AC_MINIX +AC_DISABLE_STATIC dnl Checks for programs. AC_PROG_CXX @@ -27,7 +26,7 @@ AC_PROG_YACC AS=${AS-as} AC_SUBST(AS) if test "$GCC" = yes; then - CFLAGS="$CFLAGS -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wno-char-subscripts" + CFLAGS="$CFLAGS -fPIC -DPIC -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wno-char-subscripts" # XXX disabled for now due to noise from NSPR headers # CFLAGS="$CFLAGS -Wstrict-prototypes" cflags_to_try="-fno-strict-aliasing" -- 2.7.4