remove gcc34
[dragonfly.git] / crypto / heimdal-0.6.3 / cf / wflags.m4
1 dnl $Id: wflags.m4,v 1.3.34.1 2004/04/01 07:27:35 joda Exp $
2 dnl
3 dnl set WFLAGS
4
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"
17 fi
18 AC_SUBST(WFLAGS)dnl
19 AC_SUBST(WFLAGS_NOUNUSED)dnl
20 AC_SUBST(WFLAGS_NOIMPLICITINT)dnl
21 ])