sascha 02/05/15 09:51:52
Modified: . buildconf
xml/expat buildconf.sh
Log:
Enable autoconf/autoheader to be redefined by users.
Submitted by: Joe Orton <[EMAIL PROTECTED]>
Revision Changes Path
1.6 +3 -3 apr-util/buildconf
Index: buildconf
===================================================================
RCS file: /home/cvs/apr-util/buildconf,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- buildconf 3 Feb 2002 15:19:20 -0000 1.5
+++ buildconf 15 May 2002 16:51:52 -0000 1.6
@@ -1,17 +1,17 @@
#!/bin/sh
# Remove aclocal.m4 as it'll break some builds...
-rm -rf aclocal.m4 autom4te.cache
+rm -rf aclocal.m4 autom4te*.cache
#
# Generate the autoconf header (include/apu_config.h) and ./configure
#
echo "Creating include/private/apu_config.h ..."
-autoheader
+${AUTOHEADER:-autoheader}
echo "Creating configure ..."
### do some work to toss config.cache?
-if autoconf; then
+if ${AUTOCONF:-autoconf}; then
:
else
echo "autoconf failed"
1.10 +2 -2 apr-util/xml/expat/buildconf.sh
Index: buildconf.sh
===================================================================
RCS file: /home/cvs/apr-util/xml/expat/buildconf.sh,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- buildconf.sh 27 Apr 2002 05:57:23 -0000 1.9
+++ buildconf.sh 15 May 2002 16:51:52 -0000 1.10
@@ -37,10 +37,10 @@
# Generate the autoconf header template (config.h.in) and ./configure
#
echo "Creating config.h.in ..."
-autoheader 2>&1 | grep -v "$cross_compile_warning"
+${AUTOHEADER:-autoheader} 2>&1 | grep -v "$cross_compile_warning"
echo "Creating configure ..."
### do some work to toss config.cache?
-autoconf 2>&1 | grep -v "$cross_compile_warning"
+${AUTOCONF:-autoconf} 2>&1 | grep -v "$cross_compile_warning"
exit 0