summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/configure.in b/source4/configure.in
index f71141f721..f2d91b78b1 100644
--- a/source4/configure.in
+++ b/source4/configure.in
@@ -223,7 +223,7 @@ 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
- if ${CC-cc} conftest.h && test -f conftest.h.gch; then
+ if ${CC-cc} conftest.h 2> /dev/null && test -f conftest.h.gch; then
samba_cv_precompiled_headers=yes
else
samba_cv_precompiled_headers=no