blob: b854ebd93869fceef93ac5d04d57d631acb1ba83 [file] [log] [blame]
Marc Slemko9f0ba252006-07-21 03:53:13 +00001AC_PREREQ(2.59)
2
3AC_INIT(thrift, 1.0)
4
5AC_CONFIG_SRCDIR(src/Thrift.h)
6
7AM_INIT_AUTOMAKE
8
9AC_CHECK_FUNCS([gethostbyname])
10
11AC_CHECK_FUNCS([gettimeofday])
12
13AC_CHECK_FUNCS([memset])
14
15AC_CHECK_FUNCS([socket])
16
Marc Slemkod42a2c22006-08-10 03:30:18 +000017AC_CHECK_FUNCS([strtol])
18
19AC_CHECK_FUNCS([strtoul])
20
Marc Slemko9f0ba252006-07-21 03:53:13 +000021AC_CHECK_HEADERS([arpa/inet.h])
22
23AC_CHECK_HEADERS([inttypes.h])
24
25AC_CHECK_HEADERS([netdb.h])
26
27AC_CHECK_HEADERS([netinet/in.h])
28
29AC_CHECK_HEADERS([pthread.h])
30
31AC_CHECK_HEADERS([stddef.h])
32
33AC_CHECK_HEADERS([sys/socket.h])
34
35AC_CHECK_HEADERS([sys/time.h])
36
37AC_CHECK_HEADERS([unistd.h])
38
Marc Slemko6f038a72006-08-03 18:58:09 +000039AX_BOOST_BASE([1.33.1])
40
Marc Slemkoe03da182006-07-21 21:32:36 +000041AC_CHECK_LIB(pthread, pthread_create)
42
Marc Slemkoc7782972006-07-25 02:26:35 +000043AC_CHECK_LIB(rt, sched_get_priority_min)
44
45AC_CHECK_FUNCS([clock_gettime])
46
Marc Slemko9f0ba252006-07-21 03:53:13 +000047AC_C_CONST
48
49AC_C_VOLATILE
50
51AC_HEADER_STDBOOL
52
53AC_HEADER_STDC
54
55AC_HEADER_TIME
56
57AC_TYPE_SIZE_T
58
Marc Slemkod42a2c22006-08-10 03:30:18 +000059AC_TYPE_INT16_T
60
Marc Slemko9d4a3e22006-07-21 19:53:48 +000061AC_TYPE_INT32_T
Marc Slemkoe03da182006-07-21 21:32:36 +000062
Marc Slemko9d4a3e22006-07-21 19:53:48 +000063AC_TYPE_INT64_T
64
65AC_TYPE_UINT16_T
66
67AC_TYPE_UINT32_T
68
69AC_TYPE_UINT64_T
70
71AC_TYPE_UINT8_T
72
Marc Slemko9f0ba252006-07-21 03:53:13 +000073AC_CONFIG_HEADERS(config.h:config.hin)
74
75AC_PROG_CC
76
77AC_PROG_CXX
78
79AC_PROG_INSTALL
80
81AC_PROG_LIBTOOL
82
Marc Slemko9d4a3e22006-07-21 19:53:48 +000083AC_OUTPUT(Makefile)