summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorNoah Slater <nslater@apache.org>2008-12-20 20:56:11 +0000
committerNoah Slater <nslater@apache.org>2008-12-20 20:56:11 +0000
commit789de6d0e48060e5b3fc500eaf7a89cc35c4f5c8 (patch)
tree1b070d3fd5b3db35729bcd2ea7dd8cb6964fd436 /bootstrap
parenta99bdfe28f4d434e1f0ac2c43a88c203bb57b8ab (diff)
incremental simplification
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@728342 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap86
1 files changed, 11 insertions, 75 deletions
diff --git a/bootstrap b/bootstrap
index fd464bc9..d55333ec 100755
--- a/bootstrap
+++ b/bootstrap
@@ -111,86 +111,22 @@ generate_acinclude () {
}
process_file_collection () {
- echo "Installing \`"$BUILD_AUX_DIRECTORY"'"
- mkdir -p $BUILD_AUX_DIRECTORY
- echo "Installing \`"$CONFIG_GUESS_FILE"'"
- gzip --decompress --stdout \
- $CONFIG_GUESS_COMPRESSED_FILE > $CONFIG_GUESS_FILE
- echo "Installing \`"$CONFIG_SUB_FILE"'"
- gzip --decompress --stdout \
- $CONFIG_SUB_COMPRESSED_FILE > $CONFIG_SUB_FILE
- echo "Installing \`"$M4_DIRECTORY"'"
- mkdir -p $M4_DIRECTORY
- echo "Installing \`"$M4_AC_CHECK_ICU_FILE"'"
- gzip --decompress --stdout \
- $AC_CHECK_ICU_COMPRESSED_FILE > $M4_AC_CHECK_ICU_FILE
- echo "Installing \`"$M4_AC_CHECK_CURL_FILE"'"
- gzip --decompress --stdout \
- $AC_CHECK_CURL_COMPRESSED_FILE > $M4_AC_CHECK_CURL_FILE
+ gunzip -c $CONFIG_GUESS_COMPRESSED_FILE > $CONFIG_GUESS_FILE
+ gunzip -c $CONFIG_SUB_COMPRESSED_FILE > $CONFIG_SUB_FILE
+ gunzip -c $AC_CHECK_ICU_COMPRESSED_FILE > $M4_AC_CHECK_ICU_FILE
+ gunzip -c $AC_CHECK_CURL_COMPRESSED_FILE > $M4_AC_CHECK_CURL_FILE
}
-run_aclocal () {
- if test -x "`which aclocal || true`"; then
- echo "Running aclocal"
- aclocal -I m4
+run_command_collection () {
+ if test -x "`which glibtoolize || true`"; then
+ glibtoolize -f -c
else
- echo "Can't find aclocal"
- exit $SCRIPT_ERROR
- fi
-}
-
-run_libtoolize () {
- if test -x "`which libtoolize || true`"; then
- echo "Running libtoolize"
libtoolize -f -c
- else
- if test -x "`which glibtoolize || true`"; then
- echo "Running glibtoolize"
- glibtoolize -f -c
- else
- echo "Can't find libtoolize or glibtoolize"
- exit $SCRIPT_ERROR
- fi
- fi
-}
-
-run_autoheader () {
- if test -x "`which autoheader || true`"; then
- echo "Running autoheader"
- autoheader -f
- else
- echo "Can't find autoheader"
- exit $SCRIPT_ERROR
fi
-}
-
-run_automake () {
- AUTOMAKE_OPTION_COLLECTION=""
- if test -x "`which automake || true`"; then
- echo "Running automake"
- automake -f -c -a --gnits
- else
- echo "Can't find automake"
- exit $SCRIPT_ERROR
- fi
-}
-
-run_autoconf () {
- if test -x "`which autoconf || true`"; then
- echo "Running autoconf"
- autoconf -f
- else
- echo "Can't find autoconf"
- exit $SCRIPT_ERROR
- fi
-}
-
-run_command_collection () {
- run_libtoolize
- run_aclocal
- run_autoheader
- run_automake
- run_autoconf
+ aclocal -I m4
+ autoheader -f
+ automake -f -c -a --gnits
+ autoconf -f
cat << EOF
You have bootstrapped Apache CouchDB, time to relax.