Changed compiler options

This commit is contained in:
Michiel Broek 2001-11-08 22:18:03 +00:00
parent 251bda2a1c
commit 4cf5ce6699
2 changed files with 3 additions and 2 deletions

2
configure vendored
View File

@ -2028,7 +2028,7 @@ else
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
CFLAGS="$CFLAGS -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -pipe" CFLAGS="$CFLAGS -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes"
# Check whether --enable-memwatch or --disable-memwatch was given. # Check whether --enable-memwatch or --disable-memwatch was given.
if test "${enable_memwatch+set}" = set; then if test "${enable_memwatch+set}" = set; then

View File

@ -7,6 +7,7 @@ SUBDIRS="lib mbcico mbfido mbmon mbsebbs mbtask mbsetup fbutil import lang examp
AC_SUBST(SUBDIRS) AC_SUBST(SUBDIRS)
dnl General settings for MBSE BBS dnl General settings for MBSE BBS
dnl After changeing the version number, run autoconf!
PACKAGE="mbsebbs" PACKAGE="mbsebbs"
VERSION="0.33.19" VERSION="0.33.19"
COPYRIGHT="Copyright (C) 1997-2001 Michiel Broek, All Rights Reserved" COPYRIGHT="Copyright (C) 1997-2001 Michiel Broek, All Rights Reserved"
@ -40,7 +41,7 @@ AC_CHECK_PROG(TAR, tar, tar)
AC_CHECK_PROG(ZIP, zip, zip) AC_CHECK_PROG(ZIP, zip, zip)
dnl AM_PROG_LEX dnl AM_PROG_LEX
AC_PATH_PROG(CHOWN, chown, chown, /bin:/sbin:/usr/bin:/usr/sbin:) AC_PATH_PROG(CHOWN, chown, chown, /bin:/sbin:/usr/bin:/usr/sbin:)
CFLAGS="$CFLAGS -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -pipe" CFLAGS="$CFLAGS -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes"
dnl Additional commandline switches dnl Additional commandline switches
AC_ARG_ENABLE(memwatch, [ --enable-memwatch MEMWATCH debugging], [ memwatch=$enableval ], [ memwatch=no ]) AC_ARG_ENABLE(memwatch, [ --enable-memwatch MEMWATCH debugging], [ memwatch=$enableval ], [ memwatch=no ])