From: Mark Slee Date: Wed, 21 Nov 2007 23:35:52 +0000 (+0000) Subject: libtoolize and configure tweaks for Thrift compiler X-Git-Tag: 0.2.0~1109 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=7962223ce299bbeb20348b3819a423a72efa2335;p=common%2Fthrift.git libtoolize and configure tweaks for Thrift compiler 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 --- diff --git a/compiler/cpp/bootstrap.sh b/compiler/cpp/bootstrap.sh index 67b6eea9..de6f0559 100755 --- a/compiler/cpp/bootstrap.sh +++ b/compiler/cpp/bootstrap.sh @@ -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 diff --git a/compiler/cpp/configure.ac b/compiler/cpp/configure.ac index ba08e2f2..83b6bb04 100644 --- a/compiler/cpp/configure.ac +++ b/compiler/cpp/configure.ac @@ -22,6 +22,10 @@ AC_CHECK_FUNCS([strdup]) AC_CHECK_FUNCS([strerror]) +AC_STRUCT_TM + +AC_FUNC_STRFTIME + AC_FUNC_MALLOC AC_FUNC_REALLOC