diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 1806ca50..fa8d93f8 100644 --- a/configure.ac +++ b/configure.ac @@ -10,7 +10,9 @@ AC_CONFIG_HEADER([config.h]) # Checks for programs. AC_PROG_CC AM_PROG_CC_C_O - +if test "$GCC" = "yes" +then CFLAGS="$CFLAGS -W -Wall -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g" +fi AC_CANONICAL_HOST case "${host}" in |