]> granicus.if.org Git - strace/commitdiff
2003-01-10 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Fri, 10 Jan 2003 10:44:59 +0000 (10:44 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 10 Jan 2003 10:44:59 +0000 (10:44 +0000)
* configure.ac: Diddle CFLAGS after AC_PROG_CC, not before.

configure.ac

index 5e43afda78adcbc6ede6b37a90bb7663c87f6d1d..b99effcb887cc0b78fc67032394c43484dd14ab2 100644 (file)
@@ -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"