Commit 76d56a7e authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Don't use -Wtraditional and -Wnested-externs.

parent 40761229
dnl $Id: configure.in,v 1.56 1999/04/03 21:53:17 ceder Exp $
dnl $Id: configure.in,v 1.57 1999/04/05 16:03:55 ceder Exp $
dnl Configuration for LysKOM
dnl Copyright (C) 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
dnl
......@@ -18,7 +18,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
dnl
dnl Please mail bug reports to bug-lyskom@lysator.liu.se.
dnl
AC_REVISION($Revision: 1.56 $)
AC_REVISION($Revision: 1.57 $)
AC_INIT(src/server/lyskomd.h)
AM_CONFIG_HEADER(config.h)
AC_CONFIG_AUX_DIR(scripts)
......@@ -64,7 +64,9 @@ AM_C_PROTOTYPES
[if test -n "$GCC"; then]
dnl "-Wshadow" could be useful, but it gives too many false
dnl warnings.
[CFLAGS="$CFLAGS -Wall -W -Wtraditional -Wpointer-arith"]
dnl "-Wtraditional" isn't really useful: we don't support
dnl pre-c89-compilers.
[CFLAGS="$CFLAGS -Wall -W -Wpointer-arith"]
dnl AC_DEFINE(_GNU_SOURCE)
CMOD_COMPILER_CC_ACCEPTS([-Wbad-function-cast])
dnl
......@@ -77,7 +79,12 @@ AM_C_PROTOTYPES
CMOD_COMPILER_CC_ACCEPTS([-Wstrict-prototypes])
CMOD_COMPILER_CC_ACCEPTS([-Wmissing-prototypes])
CMOD_COMPILER_CC_ACCEPTS([-Wmissing-declarations])
CMOD_COMPILER_CC_ACCEPTS([-Wnested-externs])
dnl
dnl This gives too many false warnings, especially in dbck,
dnl but it may be proper to use it once in a while. dbck
dnl should be fixed so that we get rid of the warnings there.
dnl CMOD_COMPILER_CC_ACCEPTS([-Wnested-externs])
dnl
CMOD_COMPILER_CC_ACCEPTS([-pipe]) [
fi]
AC_SUBST(PURIFY)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment