summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-12-02 05:38:27 +0000
committerTim Potter <tpot@samba.org>2003-12-02 05:38:27 +0000
commit64b7cdfc8172a7e63f1c31e3cd966095158b7940 (patch)
treea640d83284df18646b6c67ac34b4b81d197171c3
parenta11727b93044a7c56aa14cf4f4e1f763c92a0b8c (diff)
downloadsamba-64b7cdfc8172a7e63f1c31e3cd966095158b7940.tar.gz
samba-64b7cdfc8172a7e63f1c31e3cd966095158b7940.tar.bz2
samba-64b7cdfc8172a7e63f1c31e3cd966095158b7940.zip
Hide gcc error message if using a compiler that can't precompile headers.
(This used to be commit 13d073d805b3a5b9f6fbfff5dccf0bf37124d4c3)
-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