c++: fix -Wimplicit-fallthrough
[awesomized/libmemcached] / m4 / bottom.m4
index 9f99d428b6a68c787e484a37cad192f978439b75..d2252ac743a35cc259ab60a3466e5f6592364be2 100644 (file)
@@ -5,19 +5,21 @@ AH_TOP([
 
 /* _SYS_FEATURE_TESTS_H is Solaris, _FEATURES_H is GCC */
 #if defined( _SYS_FEATURE_TESTS_H) || defined(_FEATURES_H)
-#error "You should include config.h as your first include file"
+#error "You should include mem_config.h as your first include file"
 #endif
 
 ])
 
 AH_BOTTOM([
 
+#ifndef __STDC_FORMAT_MACROS
+#  define __STDC_FORMAT_MACROS
+#endif
 #if defined(__cplusplus) 
-#include CSTDINT_H 
-#include CINTTYPES_H 
+#  include CINTTYPES_H 
 #else 
-#include <stdint.h> 
-#include <inttypes.h> 
+#  include <inttypes.h> 
 #endif
 
 #if !defined(HAVE_ULONG) && !defined(__USE_MISC)
@@ -25,10 +27,6 @@ AH_BOTTOM([
 typedef unsigned long int ulong;
 #endif 
 
-#define RPACKAGE "memcached" 
-#define RVERSION "1.4.13"
 ])
 
 ])dnl CONFIG_EXTRA