X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=3aa807cee9da19bc15c71ce95b602fb37d39cd3e;hb=bc0434f1ced83fc3a5f5ace44cbad3acdc5e3e29;hp=28f70cfacab63aa96e60434d1f7a51678e319b10;hpb=f22edc385038b2d29f72af8f9fa882574493f72c;p=pspp diff --git a/configure.ac b/configure.ac index 28f70cfaca..3aa807cee9 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,14 @@ PSPP_CHECK_MAKEINFO_DOCBOOK_XML PSPP_CHECK_DOT PSPP_ENABLE_WERROR +PSPP_ENABLE_OPTION([-Wall]) +PSPP_ENABLE_OPTION([-Wextra]) +PSPP_ENABLE_OPTION([-Wwrite-strings]) +PSPP_ENABLE_OPTION([-Wstrict-prototypes]) +PSPP_ENABLE_OPTION([-Wpointer-arith]) +PSPP_ENABLE_OPTION([-Wno-sign-compare]) +PSPP_ENABLE_OPTION([-Wmissing-prototypes]) +PSPP_ENABLE_OPTION([-Wc11-c2x-compat]) AM_CONDITIONAL(cc_is_gcc, test x"$GCC" = x"yes" ) AM_CONDITIONAL(host_is_w32, [case $host_os in mingw*) true;; *) false;; esac] ) @@ -60,8 +68,6 @@ PSPP_PERL PSPP_PYTHON AC_CHECK_PROGS([TEX], [tex], [no]) AC_SUBST([TEX]) -AC_CHECK_PROGS([GWC], [gwc wc], [no]) -AC_SUBST([GWC]) # This suppresses an error in gl/careadlinkat.c that otherwise can't be # avoided in GCC 10.x: