blob: a269df6cd64a56f92d7168601f710cdb89fa6d8d [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
17AC_CHECK_HEADERS([arpa/inet.h])
18
19AC_CHECK_HEADERS([inttypes.h])
20
21AC_CHECK_HEADERS([netdb.h])
22
23AC_CHECK_HEADERS([netinet/in.h])
24
25AC_CHECK_HEADERS([pthread.h])
26
27AC_CHECK_HEADERS([stddef.h])
28
29AC_CHECK_HEADERS([sys/socket.h])
30
31AC_CHECK_HEADERS([sys/time.h])
32
33AC_CHECK_HEADERS([unistd.h])
34
Marc Slemkoe03da182006-07-21 21:32:36 +000035AC_CHECK_LIB(pthread, pthread_create)
36
Marc Slemko9f0ba252006-07-21 03:53:13 +000037AC_C_CONST
38
39AC_C_VOLATILE
40
41AC_HEADER_STDBOOL
42
43AC_HEADER_STDC
44
45AC_HEADER_TIME
46
47AC_TYPE_SIZE_T
48
Marc Slemko9d4a3e22006-07-21 19:53:48 +000049AC_TYPE_INT32_T
Marc Slemkoe03da182006-07-21 21:32:36 +000050
Marc Slemko9d4a3e22006-07-21 19:53:48 +000051AC_TYPE_INT64_T
52
53AC_TYPE_UINT16_T
54
55AC_TYPE_UINT32_T
56
57AC_TYPE_UINT64_T
58
59AC_TYPE_UINT8_T
60
Marc Slemko9f0ba252006-07-21 03:53:13 +000061AC_CONFIG_HEADERS(config.h:config.hin)
62
63AC_PROG_CC
64
65AC_PROG_CXX
66
67AC_PROG_INSTALL
68
69AC_PROG_LIBTOOL
70
Marc Slemko9d4a3e22006-07-21 19:53:48 +000071AC_OUTPUT(Makefile)