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 ------------------------------------------------]) ...@@ -23,19 +23,19 @@ AC_MSG_NOTICE([header files ------------------------------------------------])
AC_HEADER_STDC 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]) 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 # $prefix stores the value of the --prefix command line option, or NONE if
# NONE if the option wasn't set. In the case that it wasn't set, make # the option wasn't set. In the latter case, set it to the default, so that
# it be the default, so that we can use it to expand directories now. # we can use it to expand directories now.
if test "x$prefix" = "xNONE"; then if test "x$prefix" = "xNONE"; then
prefix=$ac_default_prefix prefix=$ac_default_prefix
fi fi
AC_MSG_NOTICE([options -----------------------------------------------------]) AC_MSG_NOTICE([options -----------------------------------------------------])
AC_DEFINE(CONF_FILE, "mapi.conf", [configuration file])
# development defines - leave them enabled for now # development defines - leave them enabled for now
AC_DEFINE(DEBUG, 1, [keep debugging on during beta testing]) AC_DEFINE(DEBUG, 1, [keep debugging on during beta testing])
AC_DEFINE(VALGRIND, 1, [easier debugging using valgrind]) AC_DEFINE(VALGRIND, 1, [easier debugging using valgrind])
AC_DEFINE(CONF_FILE, "mapi.conf", [configuration file])
# DiMAPI # DiMAPI
AC_MSG_CHECKING([if distributed monitoring (DiMAPI) is enabled]) AC_MSG_CHECKING([if distributed monitoring (DiMAPI) is enabled])
...@@ -367,7 +367,7 @@ AC_DEFINE_DIR(DATADIR, DATADIR, [directory for drivers and function librarues]) ...@@ -367,7 +367,7 @@ AC_DEFINE_DIR(DATADIR, DATADIR, [directory for drivers and function librarues])
CFLAGS=-g CFLAGS=-g
if test "$GCC" = "yes"; then if test "$GCC" = "yes"; then
CFLAGS="$CFLAGS -Wall -Wextra -Wshadow -Wcast-align -Wpointer-arith" CFLAGS="$CFLAGS -W -Wall -Wshadow -Wcast-align -Wpointer-arith"
fi fi
AC_MSG_NOTICE([generating files --------------------------------------------]) 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