ref: 2ff386d420a62438df630a8b0ba3a022469cd3f8
parent: 0a9dae0a3c665ce5c758f1575e0c8f08075aaf3c
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Wed Jun 8 10:19:35 EDT 2005
Turn on -Wall when compiling with gcc. git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@408 ded80894-8fb9-0310-811b-c03f3676ab4d
--- a/configure.ac
+++ b/configure.ac
@@ -13,6 +13,11 @@
AC_PROG_CC
AC_PROG_RANLIB
+# platform specific compiler flags
+if test "x$GCC" = xyes; then
+ CFLAGS="$CFLAGS -Wall"
+fi
+
# Checks for libraries.
dnl by default we want png support if possible
AC_ARG_WITH([libpng],