7 AC_ARG_ENABLE(developer,
8 AS_HELP_STRING([--enable-developer], [enable developer warnings]))
9 if test "X$enable_developer" = Xyes; then
14 WFLAGS_NOIMPLICITINT=""
15 if test -z "$WFLAGS" -a "$GCC" = "yes"; then
16 # -Wno-implicit-int for broken X11 headers
17 # leave these out for now:
18 # -Wcast-align doesn't work well on alpha osf/1
19 # -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
20 # -Wmissing-declarations -Wnested-externs
22 WFLAGS="ifelse($#, 0,-Wall, $1) $dwflags"
23 WFLAGS_NOUNUSED="-Wno-unused"
24 WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
27 AC_SUBST(WFLAGS_NOUNUSED)dnl
28 AC_SUBST(WFLAGS_NOIMPLICITINT)dnl