summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2003-01-10 10:44:59 +0000
committerRoland McGrath <roland@redhat.com>2003-01-10 10:44:59 +0000
commit45aeb6e26d3735996c012744a518989212894f12 (patch)
tree6d2c8eb12e8d9ea29f7f1688d7a70d4001ee5462 /configure.ac
parent037124f9d2afd5b1a5fa0ce16fb75c94711c66f7 (diff)
downloadstrace-45aeb6e26d3735996c012744a518989212894f12.tar.gz
strace-45aeb6e26d3735996c012744a518989212894f12.tar.bz2
strace-45aeb6e26d3735996c012744a518989212894f12.tar.xz
2003-01-10 Roland McGrath <roland@redhat.com>
* configure.ac: Diddle CFLAGS after AC_PROG_CC, not before.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5e43afd..b99effc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,8 +111,10 @@ AM_CONDITIONAL([SUNOS4], [test x$opsys = xsunos4])
AM_CONDITIONAL([SVR4], [test x$opsys = xsvr4])
AM_CONDITIONAL([FREEBSD], [test x$opsys = xfreebsd])
-CFLAGS="-D_GNU_SOURCE $CFLAGS"
AC_PROG_CC
+dnl That set the default CFLAGS value, which we don't want to diddle first.
+CFLAGS="-D_GNU_SOURCE $CFLAGS"
+
AC_INCLUDEDIR
if test "x$opsys" = "xsunos4" && test "x$arch" = "xsparc"