summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorMarc Slemko <marc@apache.org>2006-08-23 22:03:34 +0000
committerMarc Slemko <marc@apache.org>2006-08-23 22:03:34 +0000
commitb09f58838f78e8c8ef411a6db052da8db1f9dc05 (patch)
treeecdfcaf0765e0735a8d5d2ec30fa54b09de0eb3b /bootstrap.sh
parentc6936407d1c3ba0325441d44511d2876eb4dbede (diff)
downloadthrift-b09f58838f78e8c8ef411a6db052da8db1f9dc05.tar.gz
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
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh51
1 files changed, 51 insertions, 0 deletions
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
+