summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-11-21 16:51:57 +0100
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-11-21 16:51:57 +0100
commitd58b2666e3f80aac47130e4157ab0be16dc847dc (patch)
tree09fae2013dc87444e0ed937468577225c0d1afc8
parent4990a44984437320a0e39ce19e4f045235756b6b (diff)
downloadrpm-d58b2666e3f80aac47130e4157ab0be16dc847dc.tar.gz
rpm-d58b2666e3f80aac47130e4157ab0be16dc847dc.tar.bz2
rpm-d58b2666e3f80aac47130e4157ab0be16dc847dc.zip
Add AC_USE_SYSTEM_EXTENSIONS.
Remove AC_AIX, AC_MINIX. Do not add -D_GNU_SOURCE to CFLAGS.
-rw-r--r--configure.ac7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 069c0b47b..fce9545c5 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"