git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f51341
)
r18381: make sure autoconf doesn't add '-O2' to CFLAGS
author
Stefan Metzmacher
<metze@samba.org>
Mon, 11 Sep 2006 12:47:40 +0000
(12:47 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:18:21 +0000
(14:18 -0500)
metze
(This used to be commit
ec6365b5f18eea7035b6963c8005e75b9f4e3437
)
source4/lib/replace/libreplace.m4
patch
|
blob
|
history
diff --git
a/source4/lib/replace/libreplace.m4
b/source4/lib/replace/libreplace.m4
index b428870a87316cb72004a2e01c73a5ca5826fda7..52e1b5fe1d185d2e697cf12d5df067eff9371990 100644
(file)
--- a/
source4/lib/replace/libreplace.m4
+++ b/
source4/lib/replace/libreplace.m4
@@
-15,11
+15,12
@@
dnl stop the C89 attempt by autoconf - if autoconf detects -Ae it will enable it
dnl which conflicts with C99 on HPUX
ac_cv_prog_cc_Ae=no
-dnl needed before AC_TRY_COMPILE
+savedCFLAGS=$CFLAGS
+AC_PROG_CC
+CFLAGS=$savedCFLAGS
AC_ISC_POSIX
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_CC_C99
-AC_PROG_CC
AC_C_INLINE
AC_PROG_INSTALL