summaryrefslogtreecommitdiff
path: root/config-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'config-scripts')
-rw-r--r--config-scripts/cups-compiler.m411
1 files changed, 1 insertions, 10 deletions
diff --git a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4
index 50f910867..a6923750a 100644
--- a/config-scripts/cups-compiler.m4
+++ b/config-scripts/cups-compiler.m4
@@ -181,17 +181,8 @@ if test -n "$GCC"; then
AC_MSG_RESULT(no))
CFLAGS="$OLDCFLAGS"
- AC_MSG_CHECKING(whether compiler supports -Wno-format-truncation)
- OLDCFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -Werror -Wno-format-truncation"
- AC_TRY_COMPILE(,,
- [OPTIM="$OPTIM -Wno-format-truncation"
- AC_MSG_RESULT(yes)],
- AC_MSG_RESULT(no))
- CFLAGS="$OLDCFLAGS"
-
# Additional warning options for development testing...
- if test -d .svn; then
+ if test -d .git; then
OPTIM="-Werror $OPTIM"
fi
fi