sascha 02/05/15 09:47:09
Modified: build buildcheck.sh
. buildconf
Log:
Enable autoconf/autoheader to be redefined by users.
Submitted by: Joe Orton <[EMAIL PROTECTED]>
Revision Changes Path
1.6 +1 -1 apr/build/buildcheck.sh
Index: buildcheck.sh
===================================================================
RCS file: /home/cvs/apr/build/buildcheck.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- buildcheck.sh 12 Jul 2001 07:52:25 -0000 1.5
+++ buildcheck.sh 15 May 2002 16:47:09 -0000 1.6
@@ -3,7 +3,7 @@
echo "buildconf: checking installation..."
# autoconf 2.13 or newer
-ac_version=`autoconf --version 2>/dev/null|head -1|sed -e 's/^[^0-9]*//' -e
's/[a-z]* *$//'`
+ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|head -1|sed -e
's/^[^0-9]*//' -e 's/[a-z]* *$//'`
if test -z "$ac_version"; then
echo "buildconf: autoconf not found."
echo " You need autoconf version 2.13 or newer installed"
1.24 +3 -3 apr/buildconf
Index: buildconf
===================================================================
RCS file: /home/cvs/apr/buildconf,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- buildconf 13 Mar 2002 20:39:08 -0000 1.23
+++ buildconf 15 May 2002 16:47:09 -0000 1.24
@@ -98,13 +98,13 @@
# Generate the autoconf header and ./configure
#
echo "Creating include/arch/unix/apr_private.h.in ..."
-autoheader
+${AUTOHEADER:-autoheader}
echo "Creating configure ..."
### do some work to toss config.cache?
-autoconf
+${AUTOCONF:-autoconf}
# Remove autoconf 2.5x's cache directory
-rm -rf autom4te.cache
+rm -rf autom4te*.cache
exit 0