From d563c448f7971a8171c101f23e92c19aa2327a90 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 13 Mar 2006 15:19:14 +0000 Subject: r14322: Remove the BROKEN_CC flag for now. None of the buildfarm hosts has a C compiler that doesn't support -c and -o together and it makes the build system more complicated. This also means the current handling of broken C compilers is most likely broken as it isn't tested. This detection can be readded when we stumble upon a C compiler that supports both C99 (or at least the parts of it we need) and also has broken -c/-o handling, which I think is unlikely to happen. (This used to be commit 7fd74cfbb90063c79994fb6691dbe456d9ad9efa) --- source4/build/m4/check_cc.m4 | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source4/build/m4') diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4 index a6a19bc42b..bdee2b99c3 100644 --- a/source4/build/m4/check_cc.m4 +++ b/source4/build/m4/check_cc.m4 @@ -26,15 +26,6 @@ fi dnl needed before AC_TRY_COMPILE AC_ISC_POSIX -dnl Check if C compiler understands -c and -o at the same time -AC_PROG_CC_C_O -if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = no"; then - BROKEN_CC=yes -else - BROKEN_CC=no -fi -AC_SUBST(BROKEN_CC) - AC_CACHE_CHECK([that the C compiler can precompile header files],samba_cv_precompiled_headers, [ dnl Check whether the compiler can generate precompiled headers touch conftest.h -- cgit