Commit 81ac4a44 authored by 's avatar
Browse files

added gcc warning flags

git-svn-id: file:///home/svn/mapi/trunk@619 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 509deb74
......@@ -360,7 +360,11 @@ AC_DEFINE_DIR(CONFDIR, CONFDIR, [configuration directory])
DATADIR=`eval echo $datadir/mapi`
AC_DEFINE_DIR(DATADIR, DATADIR, [directory for drivers and function librarues])
if test "$GCC" = "yes"; then
CFLAGS="$CFLAGS -Wall -Wextra -Wshadow -Wcast-align -Wpointer-arith"
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