7 WFLAGS_NOIMPLICITINT=""
8 if test -z "$WFLAGS" -a "$GCC" = "yes"; then
9 # -Wno-implicit-int for broken X11 headers
10 # leave these out for now:
11 # -Wcast-align doesn't work well on alpha osf/1
12 # -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
13 # -Wmissing-declarations -Wnested-externs
14 WFLAGS="ifelse($#, 0,-Wall, $1)"
15 WFLAGS_NOUNUSED="-Wno-unused"
16 WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
19 AC_SUBST(WFLAGS_NOUNUSED)dnl
20 AC_SUBST(WFLAGS_NOIMPLICITINT)dnl