no-return-type -> no-implicit-int

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5496 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-03-11 12:11:41 +00:00
parent 3cd8ad3c04
commit 618e35c0b3

View File

@@ -4,18 +4,18 @@ dnl set WFLAGS
AC_DEFUN(AC_WFLAGS,[
WFLAGS_NOUNUSED=""
WFLAGS_NORETURNTYPE=""
WFLAGS_NOIMPLICITINT=""
if test -z "$WFLAGS" -a "$GCC" = "yes"; then
# -Wno-return-type for broken X11 headers
# -Wno-implicit-int for broken X11 headers
# leave these out for now:
# -Wcast-align doesn't work well on alpha osf/1
# -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
# -Wmissing-declarations -Wnested-externs
WFLAGS="ifelse($#, 0,-Wall, $1)"
WFLAGS_NOUNUSED="-Wno-unused"
WFLAGS_NORETURNTYPE="-Wno-return-type"
WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
fi
AC_SUBST(WFLAGS)dnl
AC_SUBST(WFLAGS_NOUNUSED)dnl
AC_SUBST(WFLAGS_NORETURNTYPE)dnl
AC_SUBST(WFLAGS_NOIMPLICITINT)dnl
])