apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r835607 - /apr/apr/trunk/buildconf
Date Thu, 12 Nov 2009 22:27:40 GMT
Author: wrowe
Date: Thu Nov 12 22:27:39 2009
New Revision: 835607

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

Modified:
    apr/apr/trunk/buildconf

Modified: apr/apr/trunk/buildconf
URL: http://svn.apache.org/viewvc/apr/apr/trunk/buildconf?rev=835607&r1=835606&r2=835607&view=diff
==============================================================================
--- apr/apr/trunk/buildconf (original)
+++ apr/apr/trunk/buildconf Thu Nov 12 22:27:39 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
@@ -45,7 +50,7 @@
 lt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'`
 IFS=.; set $lt_version; IFS=' '
 if test "$1" = "1"; then
-  $libtoolize --copy --automake
+  $libtoolize --copy --automake --force $verbose
   if [ -f libtool.m4 ]; then 
     ltfile=`pwd`/libtool.m4
   else
@@ -67,7 +72,7 @@
   cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
 fi
 if test "$1" = "2"; then
-  $libtoolize --copy
+  $libtoolize --copy --force $verbose
   # Wouldn't it just be better to define top_builddir??
   mv build/libtool.m4 build/libtool.m4.$$
   cat build/libtool.m4.$$ | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' >
build/libtool.m4
@@ -81,17 +86,17 @@
 # Generate the autoconf header and ./configure
 #
 echo "buildconf: creating include/arch/unix/apr_private.h.in ..."
-${AUTOHEADER:-autoheader}
+${AUTOHEADER:-autoheader} $verbose
 
 echo "buildconf: 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 "buildconf: 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