git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@16482
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
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