Fixed configure.ac to add a few missing functions and headers
Reviewed by dcorson
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664918
13f79535-47bb-0310-9956-
ffa450edef68
AC_DEFUN([AX_BOOST_BASE],
[
AC_ARG_WITH([boost],
- AS_HELP_STRING([--with-boost@<:@=DIR@:>@], [use boost (default is No) - it is possible to specify the root directory for boost (optional)]),
+ AS_HELP_STRING([--with-boost@<:@=DIR@:>@], [use boost (default is yes) - it is possible to specify an alternate root directory for boost]),
[
if test "$withval" = "no"; then
want_boost="no"
want_boost="yes"
ac_boost_path=""
else
- want_boost="yes"
+ want_boost="yes"
ac_boost_path="$withval"
fi
],
- [want_boost="no"])
+ [want_boost="yes"])
if test "x$want_boost" = "xyes"; then
boost_lib_version_req=ifelse([$1], ,1.20.0,$1)
AM_INIT_AUTOMAKE
+AC_FUNC_MALLOC
+
+AC_FUNC_REALLOC
+
+AC_FUNC_SELECT_ARGTYPES
+
+AC_CHECK_FUNCS([bzero])
+
AC_CHECK_FUNCS([gethostbyname])
AC_CHECK_FUNCS([gettimeofday])
AC_CHECK_FUNCS([memset])
+AC_CHECK_FUNCS([select])
+
AC_CHECK_FUNCS([socket])
AC_CHECK_FUNCS([strtol])
AC_CHECK_HEADERS([arpa/inet.h])
+AC_CHECK_HEADERS([fcntl.h])
+
AC_CHECK_HEADERS([inttypes.h])
AC_CHECK_HEADERS([netdb.h])
AC_HEADER_TIME
+AC_TYPE_OFF_T
+
+AC_TYPE_MODE_T
+
AC_TYPE_SIZE_T
AC_TYPE_INT16_T