Marc Slemko | 9f0ba25 | 2006-07-21 03:53:13 +0000 | [diff] [blame] | 1 | AC_PREREQ(2.59) |
2 | |||||
Marc Slemko | b09f588 | 2006-08-23 22:03:34 +0000 | [diff] [blame] | 3 | AC_INIT(thriftcpp, 1.0) |
Marc Slemko | 9f0ba25 | 2006-07-21 03:53:13 +0000 | [diff] [blame] | 4 | |
5 | AC_CONFIG_SRCDIR(src/Thrift.h) | ||||
6 | |||||
7 | AM_INIT_AUTOMAKE | ||||
8 | |||||
9 | AC_CHECK_FUNCS([gethostbyname]) | ||||
10 | |||||
11 | AC_CHECK_FUNCS([gettimeofday]) | ||||
12 | |||||
13 | AC_CHECK_FUNCS([memset]) | ||||
14 | |||||
15 | AC_CHECK_FUNCS([socket]) | ||||
16 | |||||
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 17 | AC_CHECK_FUNCS([strtol]) |
18 | |||||
19 | AC_CHECK_FUNCS([strtoul]) | ||||
20 | |||||
Marc Slemko | 9f0ba25 | 2006-07-21 03:53:13 +0000 | [diff] [blame] | 21 | AC_CHECK_HEADERS([arpa/inet.h]) |
22 | |||||
23 | AC_CHECK_HEADERS([inttypes.h]) | ||||
24 | |||||
25 | AC_CHECK_HEADERS([netdb.h]) | ||||
26 | |||||
27 | AC_CHECK_HEADERS([netinet/in.h]) | ||||
28 | |||||
29 | AC_CHECK_HEADERS([pthread.h]) | ||||
30 | |||||
31 | AC_CHECK_HEADERS([stddef.h]) | ||||
32 | |||||
33 | AC_CHECK_HEADERS([sys/socket.h]) | ||||
34 | |||||
35 | AC_CHECK_HEADERS([sys/time.h]) | ||||
36 | |||||
37 | AC_CHECK_HEADERS([unistd.h]) | ||||
38 | |||||
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 39 | AX_BOOST_BASE([1.33.1]) |
40 | |||||
Marc Slemko | e03da18 | 2006-07-21 21:32:36 +0000 | [diff] [blame] | 41 | AC_CHECK_LIB(pthread, pthread_create) |
42 | |||||
Marc Slemko | c778297 | 2006-07-25 02:26:35 +0000 | [diff] [blame] | 43 | AC_CHECK_LIB(rt, sched_get_priority_min) |
44 | |||||
45 | AC_CHECK_FUNCS([clock_gettime]) | ||||
46 | |||||
Marc Slemko | 9f0ba25 | 2006-07-21 03:53:13 +0000 | [diff] [blame] | 47 | AC_C_CONST |
48 | |||||
49 | AC_C_VOLATILE | ||||
50 | |||||
51 | AC_HEADER_STDBOOL | ||||
52 | |||||
53 | AC_HEADER_STDC | ||||
54 | |||||
55 | AC_HEADER_TIME | ||||
56 | |||||
57 | AC_TYPE_SIZE_T | ||||
58 | |||||
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 59 | AC_TYPE_INT16_T |
60 | |||||
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 61 | AC_TYPE_INT32_T |
Marc Slemko | e03da18 | 2006-07-21 21:32:36 +0000 | [diff] [blame] | 62 | |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 63 | AC_TYPE_INT64_T |
64 | |||||
65 | AC_TYPE_UINT16_T | ||||
66 | |||||
67 | AC_TYPE_UINT32_T | ||||
68 | |||||
69 | AC_TYPE_UINT64_T | ||||
70 | |||||
71 | AC_TYPE_UINT8_T | ||||
72 | |||||
Marc Slemko | 9f0ba25 | 2006-07-21 03:53:13 +0000 | [diff] [blame] | 73 | AC_CONFIG_HEADERS(config.h:config.hin) |
74 | |||||
75 | AC_PROG_CC | ||||
76 | |||||
77 | AC_PROG_CXX | ||||
78 | |||||
79 | AC_PROG_INSTALL | ||||
80 | |||||
81 | AC_PROG_LIBTOOL | ||||
82 | |||||
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 83 | AC_OUTPUT(Makefile) |