(clean): clean universal binary intermediate steps, too
[arla.git] / cf / wflags.m4
blob29f341ed5ff7351035f25f177aed9ff895d2c459
1 dnl $Id$
2 dnl
3 dnl set WFLAGS
5 AC_DEFUN([AC_WFLAGS],[
6 WFLAGS_NOUNUSED=""
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"
18 AC_SUBST(WFLAGS)dnl
19 AC_SUBST(WFLAGS_NOUNUSED)dnl
20 AC_SUBST(WFLAGS_NOIMPLICITINT)dnl