Set WFLAGS if using gcc

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1956 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-02 21:12:28 +00:00
parent e2e21d46c4
commit fb74855003

View File

@@ -11,6 +11,7 @@ AC_SUBST(CANONICAL_HOST)
dnl Checks for programs.
AC_PROG_CC
dnl AC_KRB_PROG_YACC
AC_PROG_YACC
AC_PROG_LEX
@@ -18,6 +19,10 @@ AC_PROG_RANLIB
AC_PROG_AWK
AC_LN_S
if test "$GCC" = "yes"; then
WFLAGS="-Wall -Wno-unused -Wconversion -Wmissing-prototypes -Wredundant-decls"
fi
AC_SUBST(WFLAGS)
CFLAGS="-g"
berkeley_db=db