svn commit: samba r2011 - branches/SAMBA_4_0/source/build/smb_build

metze at samba.org metze at samba.org
Tue Aug 24 12:04:12 GMT 2004


Author: metze
Date: 2004-08-24 12:04:11 +0000 (Tue, 24 Aug 2004)
New Revision: 2011

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=2011&nolog=1

Log:
remove this broken and never reached test

as PROG_CC will set CFLAGS to the default ones

normaly "-g -O2"

metze

Modified:
   branches/SAMBA_4_0/source/build/smb_build/check_cc.m4


Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/check_cc.m4
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/check_cc.m4	2004-08-24 12:01:24 UTC (rev 2010)
+++ branches/SAMBA_4_0/source/build/smb_build/check_cc.m4	2004-08-24 12:04:11 UTC (rev 2011)
@@ -11,12 +11,6 @@
 	AC_MSG_ERROR([Please Install gcc from http://gcc.gnu.org/])
 fi
 
-# compile with optimization and without debugging by default, but
-# allow people to set their own preference.
-if test "x$CFLAGS" = x; then
-	CFLAGS="-O ${CFLAGS}"
-fi
-
 dnl needed before AC_TRY_COMPILE
 AC_ISC_POSIX
 
@@ -81,7 +75,7 @@
 
 #
 # Check if the compiler can handle the options we selected by
-# --enable-*developer and --enable-debug
+# --enable-*developer
 #
 if test -n "$DEVELOPER_CFLAGS"; then
 	OLD_CFLAGS="${CFLAGS}"



More information about the samba-cvs mailing list