From b09f58838f78e8c8ef411a6db052da8db1f9dc05 Mon Sep 17 00:00:00 2001 From: Marc Slemko Date: Wed, 23 Aug 2006 22:03:34 +0000 Subject: Uber configure.ac/Makefile.am and configure.ac/Makefile.am for lib/php and compiler Modified TProtocol.h et al to take collection size as unsigned int. This removes need to cast STL's default size_t to signed int and is more correct, since collection sizes cannot be < 0 by definition Moved compiler/Makefile to compiler/cpp.mk so it doesn't get trashed by automake git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664766 13f79535-47bb-0310-9956-ffa450edef68 --- bootstrap.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100755 bootstrap.sh (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 000000000..fe07addfd --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,51 @@ +#!/bin/sh + +subdirs="compiler lib/cpp lib/php" + +rm -rf \ +AUTHORS \ +COPYING \ +ChangeLog \ +INSTALL \ +Makefile.am \ +Makefile \ +Makefile.in \ +Makefile.orig \ +NEWS \ +README \ +aclocal.m4 \ +autom4te.cache \ +autoscan.log \ +config.guess \ +config.h \ +config.hin \ +config.log \ +config.status \ +config.sub \ +configure \ +configure.scan \ +depcomp \ +.deps \ +install-sh \ +.libs \ +libtool \ +ltmain.sh \ +Makefile.in \ +missing + +echo "SUBDIRS = ${subdirs}" > Makefile.am + +aclocal +touch NEWS README AUTHORS ChangeLog +autoconf +automake -ac + +for subdir in ${subdirs}; do + if [ -x "${subdir}/bootstrap.sh" ]; then + cwd="`pwd`" + cd ${subdir} + ./bootstrap.sh + cd ${cwd} + fi +done + -- cgit v1.2.1