]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/commitdiff
configure.ac: Compile with -Wall -Wextra -Wconversion.
authorSimon Ruderich <simon@ruderich.org>
Mon, 10 Jun 2013 03:47:04 +0000 (05:47 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 10 Jun 2013 12:05:50 +0000 (14:05 +0200)
configure.ac

index f660e60ebdf7833167557a4b3fd8ec66132f65b3..6248625db45315e73f11a1899cf0cf6b8e8b93ac 100644 (file)
@@ -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