X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=configure.ac;h=33968234713e0a46ff656bacf425461ac2cc1cbc;hb=88d4a911457b86d76908dd8ee25cc47ef2fe6aa9;hp=3118870aba953738c85d800a2c76483505d462d8;hpb=ea65554ea537786c7bc27018264f9e0d2ebd02ce;p=awesomized%2Flibmemcached diff --git a/configure.ac b/configure.ac index 3118870a..33968234 100644 --- a/configure.ac +++ b/configure.ac @@ -7,7 +7,7 @@ MEMCACHED_LIBRARY_NAME=libmemcached #release versioning MEMCACHED_MAJOR_VERSION=0 -MEMCACHED_MINOR_VERSION=22 +MEMCACHED_MINOR_VERSION=23 MEMCACHED_MICRO_VERSION=0 #API version @@ -56,16 +56,21 @@ sinclude(config/64bit.m4) sinclude(config/protocol_binary.m4) # We only support GCC and Sun's forte at the moment +CFLAGS="-DMEMCACHED_INTERNAL $CFLAGS" if test "$GCC" = "yes" then + CFLAGS="-W -std=iso9899:1999 -Wall -Wextra -Wstrict-aliasing -pedantic -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -O3 $CFLAGS" + if test "$ENABLE_DEBUG" = "yes" then - CFLAGS="-Wall -ggdb -DMEMCACHED_INTERNAL -DHAVE_DEBUG $CFLAGS" - else - CFLAGS="-Wall -O3 -DMEMCACHED_INTERNAL $CFLAGS" + CFLAGS="$CFLAGS -ggdb -DHAVE_DEBUG" fi else CFLAGS="-Xa -xstrconst -mt -D_FORTEC_ $CFLAGS" + if test "$ENABLE_DEBUG" = "yes" + then + CFLAGS="$CFLAGS -DHAVE_DEBUG" + fi DTRACEFLAGS="$DTRACEFLAGS" fi