From d2864af2e73b87ce20e1af1967e81db2f853e536 Mon Sep 17 00:00:00 2001 From: James Peach Date: Fri, 23 Jun 2006 05:28:34 +0000 Subject: r16482: Fix bugzilla 3801 by forcing MIPSPro warning 1035 to be an error. (This used to be commit 2131ddd7a13f078be471d327c8d73300facf8def) --- source3/configure.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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() + *irix6*) + AC_ADD_INCLUDE() + 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 -- cgit