summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-06-23 05:28:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:18:56 -0500
commitd2864af2e73b87ce20e1af1967e81db2f853e536 (patch)
tree03b5ed7899ec17378f85645536505ff09f71b85c /source3/configure.in
parente9b3f293ae94e31ade9f18cdaeb351b319f6fcaa (diff)
downloadsamba-d2864af2e73b87ce20e1af1967e81db2f853e536.tar.gz
samba-d2864af2e73b87ce20e1af1967e81db2f853e536.tar.bz2
samba-d2864af2e73b87ce20e1af1967e81db2f853e536.zip
r16482: Fix bugzilla 3801 by forcing MIPSPro warning 1035 to be an error.
(This used to be commit 2131ddd7a13f078be471d327c8d73300facf8def)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 3749c80f04..bf1acefb0c 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -554,7 +554,14 @@ AC_CANONICAL_SYSTEM
dnl Add #include for broken IRIX header files
case "$host_os" in
- *irix6*) AC_ADD_INCLUDE(<standards.h>)
+ *irix6*)
+ AC_ADD_INCLUDE(<standards.h>)
+ if test x"$ac_cv_prog_gcc" != x"yes" ; then
+ dnl Bugzilla 3801. Force an error on warning 1035
+ dnl so we don't incorrectly detect stdint.h. This
+ dnl warning is emitted for #error directives.
+ CFLAGS="$CFLAGS -diag_error 1035"
+ fi
;;
esac