Update for protocol (and a single fix).
[m6w6/libmemcached] / m4 / bottom.m4
1 AC_DEFUN([CONFIG_EXTRA], [
2
3 AH_TOP([
4 #pragma once
5
6 /* _SYS_FEATURE_TESTS_H is Solaris, _FEATURES_H is GCC */
7 #if defined( _SYS_FEATURE_TESTS_H) || defined(_FEATURES_H)
8 #error "You should include config.h as your first include file"
9 #endif
10
11 ])
12
13 AH_BOTTOM([
14
15 #if defined(__cplusplus)
16 #include CSTDINT_H
17 #include CINTTYPES_H
18 #else
19 #include <stdint.h>
20 #include <inttypes.h>
21 #endif
22
23 #if !defined(HAVE_ULONG) && !defined(__USE_MISC)
24 # define HAVE_ULONG 1
25 typedef unsigned long int ulong;
26 #endif
27
28 #define RPACKAGE "memcached"
29
30 #define RVERSION "1.4.13"
31
32 ])
33
34 ])dnl CONFIG_EXTRA