diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-11 12:47:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:21 -0500 |
commit | 70028b82a9d1f4c6b2a797c76b1e7d0e1da7480f (patch) | |
tree | d0d8a0a7ca371feb11bb39c59a50f003cb588c1b | |
parent | 3f513415282a8d6e1633fcb36e04979d63fd254a (diff) | |
download | samba-70028b82a9d1f4c6b2a797c76b1e7d0e1da7480f.tar.gz samba-70028b82a9d1f4c6b2a797c76b1e7d0e1da7480f.tar.bz2 samba-70028b82a9d1f4c6b2a797c76b1e7d0e1da7480f.zip |
r18381: make sure autoconf doesn't add '-O2' to CFLAGS
metze
(This used to be commit ec6365b5f18eea7035b6963c8005e75b9f4e3437)
-rw-r--r-- | source4/lib/replace/libreplace.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4 index b428870a87..52e1b5fe1d 100644 --- 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 |