summaryrefslogtreecommitdiff
path: root/config-scripts/cups-compiler.m4
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2008-05-01 21:18:10 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2008-05-01 21:18:10 +0000
commit7a14d7682bc444c9c97dd5bfd18a3da07efd7eb3 (patch)
tree3bf9addf59af3cc5e73675280216f8b4833120f8 /config-scripts/cups-compiler.m4
parenta4f1b3dff2cc9e7c0adb6b221bf3544955a45a71 (diff)
Merge CUPS 1.4svn-r7524.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@733 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'config-scripts/cups-compiler.m4')
-rw-r--r--config-scripts/cups-compiler.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4
index 4b1f83c8c..004a0990c 100644
--- a/config-scripts/cups-compiler.m4
+++ b/config-scripts/cups-compiler.m4
@@ -96,6 +96,9 @@ AC_ARG_WITH(libcupsimageorder, [ --with-libcupsimagesorder
fi)
AC_SUBST(LIBCUPSIMAGEORDER)
+PHPOPTIONS=""
+AC_SUBST(PHPOPTIONS)
+
if test -n "$GCC"; then
# Add GCC-specific compiler options...
if test -z "$OPTIM"; then
@@ -142,6 +145,7 @@ if test -n "$GCC"; then
# Additional warning options for development testing...
if test -d .svn; then
OPTIM="-Wshadow -Wunused $OPTIM"
+ PHPOPTIONS="-Wno-shadow"
fi
fi