svn commit: samba r16482 - branches/SAMBA_3_0/source trunk/source

jpeach at samba.org jpeach at samba.org
Fri Jun 23 05:28:34 GMT 2006


Author: jpeach
Date: 2006-06-23 05:28:34 +0000 (Fri, 23 Jun 2006)
New Revision: 16482

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16482

Log:
Fix bugzilla 3801 by forcing MIPSPro warning 1035 to be an error.

Modified:
   branches/SAMBA_3_0/source/configure.in
   trunk/source/configure.in


Changeset:
Modified: branches/SAMBA_3_0/source/configure.in
===================================================================
--- branches/SAMBA_3_0/source/configure.in	2006-06-23 02:28:03 UTC (rev 16481)
+++ branches/SAMBA_3_0/source/configure.in	2006-06-23 05:28:34 UTC (rev 16482)
@@ -554,7 +554,14 @@
 
 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
 

Modified: trunk/source/configure.in
===================================================================
--- trunk/source/configure.in	2006-06-23 02:28:03 UTC (rev 16481)
+++ trunk/source/configure.in	2006-06-23 05:28:34 UTC (rev 16482)
@@ -554,7 +554,14 @@
 
 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
 



More information about the samba-cvs mailing list