svn commit: samba r18381 - in branches/SAMBA_4_0/source/lib/replace: .

metze at samba.org metze at samba.org
Mon Sep 11 12:47:40 GMT 2006


Author: metze
Date: 2006-09-11 12:47:40 +0000 (Mon, 11 Sep 2006)
New Revision: 18381

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18381

Log:
make sure autoconf doesn't add '-O2' to CFLAGS

metze
Modified:
   branches/SAMBA_4_0/source/lib/replace/libreplace.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/libreplace.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace.m4	2006-09-11 12:46:13 UTC (rev 18380)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace.m4	2006-09-11 12:47:40 UTC (rev 18381)
@@ -15,11 +15,12 @@
 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
 



More information about the samba-cvs mailing list