Commit b76ee9d5 authored by 's avatar

replaced -Wextra (gcc4 only) with -W

git-svn-id: file:///home/svn/mapi/trunk@638 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent dfab9887
......@@ -23,19 +23,19 @@ AC_MSG_NOTICE([header files ------------------------------------------------])
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h fcntl.h malloc.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/file.h sys/socket.h sys/time.h syslog.h unistd.h])
# $prefix stores the value of the --prefix command line option, or
# NONE if the option wasn't set. In the case that it wasn't set, make
# it be the default, so that we can use it to expand directories now.
# $prefix stores the value of the --prefix command line option, or NONE if
# the option wasn't set. In the latter case, set it to the default, so that
# we can use it to expand directories now.
if test "x$prefix" = "xNONE"; then
prefix=$ac_default_prefix
fi
AC_MSG_NOTICE([options -----------------------------------------------------])
AC_DEFINE(CONF_FILE, "mapi.conf", [configuration file])
# development defines - leave them enabled for now
AC_DEFINE(DEBUG, 1, [keep debugging on during beta testing])
AC_DEFINE(VALGRIND, 1, [easier debugging using valgrind])
AC_DEFINE(CONF_FILE, "mapi.conf", [configuration file])
# DiMAPI
AC_MSG_CHECKING([if distributed monitoring (DiMAPI) is enabled])
......@@ -367,7 +367,7 @@ AC_DEFINE_DIR(DATADIR, DATADIR, [directory for drivers and function librarues])
CFLAGS=-g
if test "$GCC" = "yes"; then
CFLAGS="$CFLAGS -Wall -Wextra -Wshadow -Wcast-align -Wpointer-arith"
CFLAGS="$CFLAGS -W -Wall -Wshadow -Wcast-align -Wpointer-arith"
fi
AC_MSG_NOTICE([generating files --------------------------------------------])
......
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