Merge lp:~tangent-org/libmemcached/1.0-build/ Build: jenkins-Libmemcached-187
[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 mem_config.h as your first include file"
9 #endif
10
11 ])
12
13 AH_BOTTOM([
14
15 #ifndef __STDC_FORMAT_MACROS
16 # define __STDC_FORMAT_MACROS
17 #endif
18
19 #if defined(__cplusplus)
20 # include CINTTYPES_H
21 #else
22 # include <inttypes.h>
23 #endif
24
25 #if !defined(HAVE_ULONG) && !defined(__USE_MISC)
26 # define HAVE_ULONG 1
27 typedef unsigned long int ulong;
28 #endif
29
30 ])
31
32 ])dnl CONFIG_EXTRA