Marc Slemko | 9f0ba25 | 2006-07-21 03:53:13 +0000 | [diff] [blame^] | 1 | AC_PREREQ(2.59) |
| 2 | |
| 3 | AC_INIT(thrift, 1.0) |
| 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 | |
| 17 | AC_CHECK_HEADERS([arpa/inet.h]) |
| 18 | |
| 19 | AC_CHECK_HEADERS([inttypes.h]) |
| 20 | |
| 21 | AC_CHECK_HEADERS([netdb.h]) |
| 22 | |
| 23 | AC_CHECK_HEADERS([netinet/in.h]) |
| 24 | |
| 25 | AC_CHECK_HEADERS([pthread.h]) |
| 26 | |
| 27 | AC_CHECK_HEADERS([stddef.h]) |
| 28 | |
| 29 | AC_CHECK_HEADERS([sys/socket.h]) |
| 30 | |
| 31 | AC_CHECK_HEADERS([sys/time.h]) |
| 32 | |
| 33 | AC_CHECK_HEADERS([unistd.h]) |
| 34 | |
| 35 | AC_C_CONST |
| 36 | |
| 37 | AC_C_VOLATILE |
| 38 | |
| 39 | AC_HEADER_STDBOOL |
| 40 | |
| 41 | AC_HEADER_STDC |
| 42 | |
| 43 | AC_HEADER_TIME |
| 44 | |
| 45 | AC_TYPE_SIZE_T |
| 46 | |
| 47 | AC_CONFIG_HEADERS(config.h:config.hin) |
| 48 | |
| 49 | AC_PROG_CC |
| 50 | |
| 51 | AC_PROG_CXX |
| 52 | |
| 53 | AC_PROG_INSTALL |
| 54 | |
| 55 | AC_PROG_LIBTOOL |
| 56 | |
| 57 | AC_OUTPUT([Makefile src/Makefile src/concurrency/Makefile]) |