AC_SUBST(LD_VERSION_SCRIPT)
AC_SUBST(LD_UTIL_VERSION_SCRIPT)
-# Use the C99 enabling flag found earlier
-AS_IF([test "$ac_cv_prog_cc_c99" != "no"],
- [CFLAGS="$ac_cv_prog_cc_c99 ${CFLAGS}"])
-
# Build optimized or debug version ?
# First check for gcc and g++
if test "$GCC" = "yes"
REQUIRE_POD2MAN
PROTOCOL_BINARY_TEST
WITH_MEMCACHED
+ENABLE_DEPRECATED
dnl TODO: Remove this define once we are using 2.61 across the board.
# AX_HEADER_ASSERT
])
])
- W_STRICT_ALIASING="-Wno-strict-aliasing"
-
AS_IF([test "$ac_profiling" = "yes"],
[CC_PROFILING="-pg"])
AS_IF([test "$building_from_bzr" = "yes"],
[W_FAIL="-Werror"])
- BASE_WARNINGS="-pedantic -W -Wall -Wextra ${W_FAIL} -Wundef -Wshadow -Wmissing-declarations ${W_STRICT_ALIASING} ${F_DIAGNOSTICS_SHOW_OPTION} ${W_CONVERSION}"
+ BASE_WARNINGS="-pedantic -Wall -Wextra ${W_FAIL} -Wundef -Wshadow -Wmissing-declarations -Wstrict-aliasing -Wformat=2 ${F_DIAGNOSTICS_SHOW_OPTION} ${W_CONVERSION}"
CC_WARNINGS="${BASE_WARNINGS} -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wswitch-default -Wswitch-enum -Wcast-align"
CXX_WARNINGS="${BASE_WARNINGS} -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wold-style-cast -Weffc++ -Wno-long-long"
tests/Makefile
docs/Makefile
libmemcached/Makefile
+ libmemcached/memcached_configure.h
libmemcachedutil/Makefile
support/Makefile
support/libmemcached.pc