From ccced7883005ed8564373a276520777fc451f963 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Mon, 8 Aug 2011 11:32:15 +0400 Subject: [PATCH] Show extra compiler warnings (GCC). * configure.ac (CFLAGS): Add -Wall -Wextra (GCC only). * configure: Regenerate. --- configure | 2 ++ configure.ac | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configure b/configure index 5ed6a68..d4d9b96 100755 --- a/configure +++ b/configure @@ -4738,6 +4738,8 @@ $as_echo "-fPIC" >&6; } CFLAGS="$CFLAGS -D__PIC__=1" ;; esac + # Output all warnings. + CFLAGS="$CFLAGS -Wall -Wextra" else case "$host" in *-*-hpux*) diff --git a/configure.ac b/configure.ac index d84b8a0..2ed7ddf 100644 --- a/configure.ac +++ b/configure.ac @@ -32,6 +32,8 @@ if test "$GCC" = yes; then CFLAGS="$CFLAGS -D__PIC__=1" ;; esac + # Output all warnings. + CFLAGS="$CFLAGS -Wall -Wextra" else case "$host" in *-*-hpux*) -- 2.7.4