blob: 77a4f328e54fd1dd9eba033d925055136eb7224f [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 Slemkoc7782972006-07-25 02:26:35 +000037AC_CHECK_LIB(rt, sched_get_priority_min)
38
39AC_CHECK_FUNCS([clock_gettime])
40
Marc Slemko9f0ba252006-07-21 03:53:13 +000041AC_C_CONST
42
43AC_C_VOLATILE
44
45AC_HEADER_STDBOOL
46
47AC_HEADER_STDC
48
49AC_HEADER_TIME
50
51AC_TYPE_SIZE_T
52
Marc Slemko9d4a3e22006-07-21 19:53:48 +000053AC_TYPE_INT32_T
Marc Slemkoe03da182006-07-21 21:32:36 +000054
Marc Slemko9d4a3e22006-07-21 19:53:48 +000055AC_TYPE_INT64_T
56
57AC_TYPE_UINT16_T
58
59AC_TYPE_UINT32_T
60
61AC_TYPE_UINT64_T
62
63AC_TYPE_UINT8_T
64
Marc Slemko9f0ba252006-07-21 03:53:13 +000065AC_CONFIG_HEADERS(config.h:config.hin)
66
67AC_PROG_CC
68
69AC_PROG_CXX
70
71AC_PROG_INSTALL
72
73AC_PROG_LIBTOOL
74
Marc Slemko9d4a3e22006-07-21 19:53:48 +000075AC_OUTPUT(Makefile)