apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r835601 - /apr/apr/branches/1.4.x/buildconf
Date Thu, 12 Nov 2009 22:19:50 GMT
Author: wrowe
Date: Thu Nov 12 22:19:49 2009
New Revision: 835601

URL: http://svn.apache.org/viewvc?rev=835601&view=rev
Log:
Allow --verbose'ity with ./buildconf for debugging

Modified:
    apr/apr/branches/1.4.x/buildconf

Modified: apr/apr/branches/1.4.x/buildconf
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/buildconf?rev=835601&r1=835600&r2=835601&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/buildconf (original)
+++ apr/apr/branches/1.4.x/buildconf Thu Nov 12 22:19:49 2009
@@ -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 @@
 # 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 @@
 # 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



Mime
View raw message