]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Mirror 1.1.x changes.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 20 Aug 2003 18:28:27 +0000 (18:28 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 20 Aug 2003 18:28:27 +0000 (18:28 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/branches/branch-1.2@3875 7a7537e8-13f0-0310-91df-b6672ffda945

config-scripts/cups-compiler.m4

index 080242daf4f1d662b9810dac6850ad37bb71df44..268c69c758253ddfe7e97dbe3f86a4d55860f308 100644 (file)
@@ -1,5 +1,5 @@
 dnl
-dnl "$Id: cups-compiler.m4,v 1.9.2.15 2003/04/14 19:56:01 mike Exp $"
+dnl "$Id: cups-compiler.m4,v 1.9.2.16 2003/08/20 18:28:27 mike Exp $"
 dnl
 dnl   Common configuration stuff for the Common UNIX Printing System (CUPS).
 dnl
@@ -133,7 +133,16 @@ else
                        fi
 
                        if test "x$with_optim" = x; then
-                               OPTIM="-fullwarn $OPTIM"
+                               # Show most warnings, but suppress the
+                               # ones about arguments not being used,
+                               # string constants assigned to const
+                               # char *'s, etc.  We only set the warning
+                               # options on IRIX 6.2 and higher because
+                               # of limitations in the older SGI compiler
+                               # tools.
+                               if test $uversion -ge 62; then
+                                       OPTIM="-fullwarn -woff 1183,1209,1349,3201 $OPTIM"
+                               fi
                        fi
                        ;;
                SunOS*)
@@ -147,7 +156,9 @@ else
                        fi
 
                        if test "x$with_optim" = x; then
-                               OPTIM="$OPTIM -xarch=generic"
+                               # Specify "generic" SPARC output and suppress
+                               # all of Sun's questionable warning messages...
+                               OPTIM="-w $OPTIM -xarch=generic"
                        fi
 
                        if test $PICFLAG = 1; then
@@ -191,5 +202,5 @@ if test $uname = HP-UX; then
 fi
 
 dnl
-dnl End of "$Id: cups-compiler.m4,v 1.9.2.15 2003/04/14 19:56:01 mike Exp $".
+dnl End of "$Id: cups-compiler.m4,v 1.9.2.16 2003/08/20 18:28:27 mike Exp $".
 dnl