blob: ee9995e6f9cf5f412105811488e059a16500ee80 [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 Slemko6f038a72006-08-03 18:58:09 +000035AX_BOOST_BASE([1.33.1])
36
Marc Slemkoe03da182006-07-21 21:32:36 +000037AC_CHECK_LIB(pthread, pthread_create)
38
Marc Slemkoc7782972006-07-25 02:26:35 +000039AC_CHECK_LIB(rt, sched_get_priority_min)
40
41AC_CHECK_FUNCS([clock_gettime])
42
Marc Slemko9f0ba252006-07-21 03:53:13 +000043AC_C_CONST
44
45AC_C_VOLATILE
46
47AC_HEADER_STDBOOL
48
49AC_HEADER_STDC
50
51AC_HEADER_TIME
52
53AC_TYPE_SIZE_T
54
Marc Slemko9d4a3e22006-07-21 19:53:48 +000055AC_TYPE_INT32_T
Marc Slemkoe03da182006-07-21 21:32:36 +000056
Marc Slemko9d4a3e22006-07-21 19:53:48 +000057AC_TYPE_INT64_T
58
59AC_TYPE_UINT16_T
60
61AC_TYPE_UINT32_T
62
63AC_TYPE_UINT64_T
64
65AC_TYPE_UINT8_T
66
Marc Slemko9f0ba252006-07-21 03:53:13 +000067AC_CONFIG_HEADERS(config.h:config.hin)
68
69AC_PROG_CC
70
71AC_PROG_CXX
72
73AC_PROG_INSTALL
74
75AC_PROG_LIBTOOL
76
Marc Slemko9d4a3e22006-07-21 19:53:48 +000077AC_OUTPUT(Makefile)