Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 11812 invoked from network); 12 Nov 2009 22:23:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Nov 2009 22:23:07 -0000 Received: (qmail 17557 invoked by uid 500); 12 Nov 2009 22:23:07 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 17508 invoked by uid 500); 12 Nov 2009 22:23:07 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 17499 invoked by uid 99); 12 Nov 2009 22:23:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2009 22:23:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2009 22:22:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 944D0238888E; Thu, 12 Nov 2009 22:22:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r835604 - /apr/apr/branches/1.3.x/buildconf Date: Thu, 12 Nov 2009 22:22:38 -0000 To: commits@apr.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091112222238.944D0238888E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: wrowe Date: Thu Nov 12 22:22:38 2009 New Revision: 835604 URL: http://svn.apache.org/viewvc?rev=835604&view=rev Log: Allow --verbose'ity with ./buildconf for debugging Modified: apr/apr/branches/1.3.x/buildconf Modified: apr/apr/branches/1.3.x/buildconf URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/buildconf?rev=835604&r1=835603&r2=835604&view=diff ============================================================================== --- apr/apr/branches/1.3.x/buildconf (original) +++ apr/apr/branches/1.3.x/buildconf Thu Nov 12 22:22:38 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