use AC_WFLAGS

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5489 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-03-10 18:29:44 +00:00
parent df3d0d7e5f
commit d9f2e8e7d1

View File

@@ -35,13 +35,7 @@ AC_KRB_PROG_LN_S
AM_DISABLE_SHARED
AM_PROG_LIBTOOL
if test "$GCC" = "yes"; then
# -Wcast-align doesn't work well on alpha osf/1
WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
WFLAGS_NOUNUSED="-Wno-unused"
fi
AC_SUBST(WFLAGS)
AC_SUBST(WFLAGS_NOUNUSED)
AC_WFLAGS(-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs)
berkeley_db=db
AC_ARG_WITH(berkeley-db,