3 AC_INIT([thrift], [20070917])
9 AC_ARG_VAR([PY_PREFIX], [Prefix for installing Python modules.
10 (Normal --prefix is ignored for Python because
11 Python has different conventions.)
13 AS_IF([test "x$PY_PREFIX" == x], [PY_PREFIX="/usr"])
15 AM_PATH_PYTHON(2.4,, :)
29 AX_BOOST_BASE([1.33.1])
32 AM_CONDITIONAL([AMX_HAVE_LIBEVENT], [test "$success" = "yes"])
35 AM_CONDITIONAL([AMX_HAVE_ZLIB], [test "$success" = "yes"])
44 AC_CHECK_HEADERS([arpa/inet.h])
45 AC_CHECK_HEADERS([endian.h])
46 AC_CHECK_HEADERS([fcntl.h])
47 AC_CHECK_HEADERS([inttypes.h])
48 AC_CHECK_HEADERS([netdb.h])
49 AC_CHECK_HEADERS([netinet/in.h])
50 AC_CHECK_HEADERS([pthread.h])
51 AC_CHECK_HEADERS([stddef.h])
52 AC_CHECK_HEADERS([sys/socket.h])
53 AC_CHECK_HEADERS([sys/time.h])
54 AC_CHECK_HEADERS([unistd.h])
55 AC_CHECK_HEADERS([libintl.h])
56 AC_CHECK_HEADERS([malloc.h])
58 AC_CHECK_LIB(pthread, pthread_create)
59 AC_CHECK_LIB(rt, sched_get_priority_min)
76 AC_FUNC_SELECT_ARGTYPES
80 AC_CHECK_FUNCS([strtoul])
81 AC_CHECK_FUNCS([bzero])
82 AC_CHECK_FUNCS([clock_gettime])
83 AC_CHECK_FUNCS([gethostbyname])
84 AC_CHECK_FUNCS([gettimeofday])
85 AC_CHECK_FUNCS([memmove])
86 AC_CHECK_FUNCS([memset])
87 AC_CHECK_FUNCS([mkdir])
88 AC_CHECK_FUNCS([realpath])
89 AC_CHECK_FUNCS([select])
90 AC_CHECK_FUNCS([socket])
91 AC_CHECK_FUNCS([strchr])
92 AC_CHECK_FUNCS([strdup])
93 AC_CHECK_FUNCS([strstr])
94 AC_CHECK_FUNCS([strtol])
95 AC_CHECK_FUNCS([sqrt])
97 AC_CONFIG_HEADERS(config.h:config.hin)
101 compiler/cpp/Makefile