configure.ac: Compile with -Wall -Wextra -Wconversion.

This commit is contained in:
Simon Ruderich
2013-06-10 05:47:04 +02:00
parent 3773b830ba
commit c7f6f13de0

View 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