summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2009-11-12 22:19:49 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2009-11-12 22:19:49 +0000
commitbf7626f05bf3c86a8d6066de4e12acb5a5d88839 (patch)
tree433b81c12151e0c1f85eab70ece302eb1634d25d /buildconf
parent660e7653383c1387267fb9faca1af586edf68d26 (diff)
downloadlibapr-bf7626f05bf3c86a8d6066de4e12acb5a5d88839.tar.gz
Allow --verbose'ity with ./buildconf for debugging
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@835601 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf15
1 files changed, 10 insertions, 5 deletions
diff --git a/buildconf b/buildconf
index 15747f9e6..1041af407 100755
--- a/buildconf
+++ b/buildconf
@@ -19,9 +19,14 @@
# buildconf: Build the support scripts needed to compile from a
# checked-out version of the source code.
+if [ "$1" = "--verbose" -o "$1" = "-v" ]; then
+ verbose="--verbose"
+ shift
+fi
+
# Verify that the builder has the right config tools installed
#
-build/buildcheck.sh || exit 1
+build/buildcheck.sh $verbose || exit 1
libtoolize=`build/PrintPath glibtoolize1 glibtoolize libtoolize15 libtoolize14 libtoolize`
if [ "x$libtoolize" = "x" ]; then
@@ -41,7 +46,7 @@ echo "Copying libtool helper files ..."
# and libtool 1.4 by simply rerunning the buildconf script.
(cd build ; rm -f ltconfig ltmain.sh libtool.m4)
-$libtoolize --copy --automake
+$libtoolize --copy --automake --force $verbose
if [ -f libtool.m4 ]; then
ltfile=`pwd`/libtool.m4
@@ -86,17 +91,17 @@ rm -f aclocal.m4 libtool.m4
# Generate the autoconf header and ./configure
#
echo "Creating include/arch/unix/apr_private.h.in ..."
-${AUTOHEADER:-autoheader}
+${AUTOHEADER:-autoheader} $verbose
echo "Creating configure ..."
### do some work to toss config.cache?
-${AUTOCONF:-autoconf}
+${AUTOCONF:-autoconf} $verbose
# Remove autoconf 2.5x's cache directory
rm -rf autom4te*.cache
echo "Generating 'make' outputs ..."
-build/gen-build.py make
+build/gen-build.py $verbose make
# Create RPM Spec file
if [ -f `which cut` ]; then