libtoolize and configure tweaks for Thrift compiler
authorMark Slee <mcslee@apache.org>
Wed, 21 Nov 2007 23:35:52 +0000 (23:35 +0000)
committerMark Slee <mcslee@apache.org>
Wed, 21 Nov 2007 23:35:52 +0000 (23:35 +0000)
Summary: Need glibtoolize on OSX.

Reviewed By: mcslee

Other Notes: From Paul Collison

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665363 13f79535-47bb-0310-9956-ffa450edef68

compiler/cpp/bootstrap.sh
compiler/cpp/configure.ac

index 67b6eea..de6f055 100755 (executable)
@@ -3,7 +3,11 @@
 ./cleanup.sh
 autoscan
 aclocal -I ../../lib/cpp/aclocal
-libtoolize --automake
+if libtoolize --version 1 >/dev/null 2>/dev/null; then
+  libtoolize --automake
+elif glibtoolize --version 1 >/dev/null 2>/dev/null; then
+  glibtoolize --automake
+fi
 touch NEWS README AUTHORS ChangeLog
 autoconf
 automake -ac
index ba08e2f..83b6bb0 100644 (file)
@@ -22,6 +22,10 @@ AC_CHECK_FUNCS([strdup])
 
 AC_CHECK_FUNCS([strerror])
 
+AC_STRUCT_TM
+
+AC_FUNC_STRFTIME
+
 AC_FUNC_MALLOC
 
 AC_FUNC_REALLOC