From: Simon Ruderich Date: Mon, 10 Jun 2013 03:47:04 +0000 (+0200) Subject: configure.ac: Compile with -Wall -Wextra -Wconversion. X-Git-Tag: 0.1~92 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=c7f6f13de07d6010c5387a9db26e64310bbc657b;p=coloredstderr%2Fcoloredstderr.git configure.ac: Compile with -Wall -Wextra -Wconversion. --- diff --git a/configure.ac b/configure.ac index f660e60..6248625 100644 --- a/configure.ac +++ b/configure.ac @@ -32,6 +32,10 @@ dnl Used by test suite. AC_PROG_SED AC_PROG_EGREP +if test "x$GCC" = xyes; then + CFLAGS="-Wall -Wextra -Wconversion $CFLAGS" +fi + AC_CHECK_HEADERS([fcntl.h error.h]) AC_TYPE_PID_T