From 335e74167169c5c2154bf464393da2c93b2c16c3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 24 Aug 2004 12:04:11 +0000 Subject: r2011: remove this broken and never reached test as PROG_CC will set CFLAGS to the default ones normaly "-g -O2" metze (This used to be commit 424af1a9df7e67aa2194b2542794ed4589e57dbf) --- source4/build/smb_build/check_cc.m4 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/source4/build/smb_build/check_cc.m4 b/source4/build/smb_build/check_cc.m4 index ae4e5c956c..68e938b794 100644 --- a/source4/build/smb_build/check_cc.m4 +++ b/source4/build/smb_build/check_cc.m4 @@ -11,12 +11,6 @@ if test x"$CC" = x""; then 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 @@ AC_TRY_RUN([#include "${srcdir-.}/build/tests/trivial.c"], # # 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}" -- cgit