blob: 679e26fd9e1af134d67db4d455f980723aac2904 [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
35AC_C_CONST
36
37AC_C_VOLATILE
38
39AC_HEADER_STDBOOL
40
41AC_HEADER_STDC
42
43AC_HEADER_TIME
44
45AC_TYPE_SIZE_T
46
47AC_CONFIG_HEADERS(config.h:config.hin)
48
49AC_PROG_CC
50
51AC_PROG_CXX
52
53AC_PROG_INSTALL
54
55AC_PROG_LIBTOOL
56
57AC_OUTPUT([Makefile src/Makefile src/concurrency/Makefile])