X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=configure.ac;h=6248625db45315e73f11a1899cf0cf6b8e8b93ac;hb=c7f6f13de07d6010c5387a9db26e64310bbc657b;hp=f660e60ebdf7833167557a4b3fd8ec66132f65b3;hpb=7f9856c5dace35f8efe5a20ee1013815e67b9550;p=coloredstderr%2Fcoloredstderr.git 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