Update to handle newer endian autoconf components.
[m6w6/libmemcached] / m4 / bottom.m4
index 289c299413493626f8c28203b43c286a2efff528..6306aee178a873508c98976a5ea32c86dfba1019 100644 (file)
@@ -12,19 +12,31 @@ AH_TOP([
 
 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)
 # define HAVE_ULONG 1
 typedef unsigned long int ulong;
-#endif
+#endif 
 
+#define RPACKAGE "memcached" 
+#define RVERSION "1.4.13"
+
+#ifdef WORDS_BIGENDIAN 
+# define ENDIAN_BIG 1
+#else
+# define ENDIAN_LITTLE 1
+#endif
 ])
 
 ])dnl CONFIG_EXTRA