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
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*)
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
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