git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1732aae
)
Hide gcc error message if using a compiler that can't precompile headers.
author
Tim Potter
<tpot@samba.org>
Tue, 2 Dec 2003 05:38:27 +0000
(
05:38
+0000)
committer
Tim Potter
<tpot@samba.org>
Tue, 2 Dec 2003 05:38:27 +0000
(
05:38
+0000)
source/configure.in
patch
|
blob
|
history
diff --git
a/source/configure.in
b/source/configure.in
index f71141f721212adfbeca15c034d513936bfb21f3..f2d91b78b1b65093174ef323e46fed3d37deb78e 100644
(file)
--- a/
source/configure.in
+++ b/
source/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