blob: 878e55aa9941b78a65a5fc200211fd22286a53ac [file] [log] [blame]
Marc Slemko9f0ba252006-07-21 03:53:13 +00001AC_PREREQ(2.59)
2
Marc Slemkob09f5882006-08-23 22:03:34 +00003AC_INIT(thriftcpp, 1.0)
Marc Slemko9f0ba252006-07-21 03:53:13 +00004
5AC_CONFIG_SRCDIR(src/Thrift.h)
6
7AM_INIT_AUTOMAKE
8
Marc Slemko75c2f702007-01-17 07:59:38 +00009AC_FUNC_MALLOC
10
11AC_FUNC_REALLOC
12
13AC_FUNC_SELECT_ARGTYPES
14
15AC_CHECK_FUNCS([bzero])
16
Marc Slemko9f0ba252006-07-21 03:53:13 +000017AC_CHECK_FUNCS([gethostbyname])
18
19AC_CHECK_FUNCS([gettimeofday])
20
21AC_CHECK_FUNCS([memset])
22
Marc Slemko75c2f702007-01-17 07:59:38 +000023AC_CHECK_FUNCS([select])
24
Marc Slemko9f0ba252006-07-21 03:53:13 +000025AC_CHECK_FUNCS([socket])
26
Marc Slemkod42a2c22006-08-10 03:30:18 +000027AC_CHECK_FUNCS([strtol])
28
29AC_CHECK_FUNCS([strtoul])
30
Mark Slee3303f362007-03-05 20:09:37 +000031AC_CHECK_FUNCS([memmove])
32
33AC_CHECK_FUNCS([strstr])
34
35AC_CHECK_FUNCS([strchr])
36
Marc Slemko9f0ba252006-07-21 03:53:13 +000037AC_CHECK_HEADERS([arpa/inet.h])
38
Marc Slemko75c2f702007-01-17 07:59:38 +000039AC_CHECK_HEADERS([fcntl.h])
40
Marc Slemko9f0ba252006-07-21 03:53:13 +000041AC_CHECK_HEADERS([inttypes.h])
42
43AC_CHECK_HEADERS([netdb.h])
44
45AC_CHECK_HEADERS([netinet/in.h])
46
47AC_CHECK_HEADERS([pthread.h])
48
49AC_CHECK_HEADERS([stddef.h])
50
51AC_CHECK_HEADERS([sys/socket.h])
52
53AC_CHECK_HEADERS([sys/time.h])
54
55AC_CHECK_HEADERS([unistd.h])
56
Mark Sleeeb0d0242007-01-25 07:58:55 +000057AC_C_INLINE
58
Marc Slemko6f038a72006-08-03 18:58:09 +000059AX_BOOST_BASE([1.33.1])
60
Marc Slemko85ca7a12007-01-17 08:32:16 +000061AX_EVENT_BASE([1.2.0])
62
Marc Slemkoe03da182006-07-21 21:32:36 +000063AC_CHECK_LIB(pthread, pthread_create)
64
Marc Slemkoc7782972006-07-25 02:26:35 +000065AC_CHECK_LIB(rt, sched_get_priority_min)
66
67AC_CHECK_FUNCS([clock_gettime])
68
Marc Slemko9f0ba252006-07-21 03:53:13 +000069AC_C_CONST
70
71AC_C_VOLATILE
72
73AC_HEADER_STDBOOL
74
75AC_HEADER_STDC
76
77AC_HEADER_TIME
78
Marc Slemko75c2f702007-01-17 07:59:38 +000079AC_TYPE_OFF_T
80
81AC_TYPE_MODE_T
82
Marc Slemko9f0ba252006-07-21 03:53:13 +000083AC_TYPE_SIZE_T
84
Marc Slemkod42a2c22006-08-10 03:30:18 +000085AC_TYPE_INT16_T
86
Marc Slemko9d4a3e22006-07-21 19:53:48 +000087AC_TYPE_INT32_T
Marc Slemkoe03da182006-07-21 21:32:36 +000088
Marc Slemko9d4a3e22006-07-21 19:53:48 +000089AC_TYPE_INT64_T
90
91AC_TYPE_UINT16_T
92
93AC_TYPE_UINT32_T
94
95AC_TYPE_UINT64_T
96
97AC_TYPE_UINT8_T
98
Marc Slemko9f0ba252006-07-21 03:53:13 +000099AC_CONFIG_HEADERS(config.h:config.hin)
100
101AC_PROG_CC
102
103AC_PROG_CXX
104
105AC_PROG_INSTALL
106
107AC_PROG_LIBTOOL
108
Marc Slemko9d4a3e22006-07-21 19:53:48 +0000109AC_OUTPUT(Makefile)