Thrift: Add some macros to configure.ac.

Summary:
./bootstrap.sh has been throwing warnings because we haven't kept
configure.ac up to date.  This fixes that.

Reviewed By: mcslee

Test Plan: ./boostrap.sh

Revert Plan: ok

Other Notes:
Contributed by Dan Sully.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665474 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/configure.ac b/configure.ac
index 335ec87..94a0f10 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,8 @@
 AC_PROG_YACC
 AC_PROG_LEX
 AM_PROG_LEX
+AC_PROG_LN_S
+AC_PROG_MKDIR_P
 
 AC_LANG([C++])
 AX_BOOST_BASE([1.33.1])
@@ -49,6 +51,7 @@
 AC_CHECK_HEADERS([endian.h])
 AC_CHECK_HEADERS([fcntl.h])
 AC_CHECK_HEADERS([inttypes.h])
+AC_CHECK_HEADERS([limits.h])
 AC_CHECK_HEADERS([netdb.h])
 AC_CHECK_HEADERS([netinet/in.h])
 AC_CHECK_HEADERS([pthread.h])
@@ -74,16 +77,21 @@
 AC_TYPE_UINT64_T
 AC_TYPE_UINT8_T
 
+AC_STRUCT_TM
+
 AC_FUNC_ALLOCA
 AC_FUNC_MALLOC
+AC_FUNC_MEMCMP
 AC_FUNC_REALLOC
 AC_FUNC_SELECT_ARGTYPES
 AC_FUNC_STAT
 AC_FUNC_STRERROR_R
+AC_FUNC_STRFTIME
 AC_FUNC_VPRINTF
 AC_CHECK_FUNCS([strtoul])
 AC_CHECK_FUNCS([bzero])
 AC_CHECK_FUNCS([clock_gettime])
+AC_CHECK_FUNCS([ftruncate])
 AC_CHECK_FUNCS([gethostbyname])
 AC_CHECK_FUNCS([gettimeofday])
 AC_CHECK_FUNCS([memmove])
@@ -94,6 +102,7 @@
 AC_CHECK_FUNCS([socket])
 AC_CHECK_FUNCS([strchr])
 AC_CHECK_FUNCS([strdup])
+AC_CHECK_FUNCS([strerror])
 AC_CHECK_FUNCS([strstr])
 AC_CHECK_FUNCS([strtol])
 AC_CHECK_FUNCS([sqrt])