blob: ebf83cdd7259b4fb7c6a422f82511fb8cdaf4138 [file] [log] [blame]
#!/bin/sh
# Remove aclocal.m4 as it'll break some builds...
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}
echo "Creating configure ..."
### do some work to toss config.cache?
if ${AUTOCONF:-autoconf}; then
:
else
echo "autoconf failed"
exit 1
fi
#
# If Expat has been bundled, then go and configure the thing
#
if test -d xml/expat; then
echo "Invoking xml/expat/buildconf.sh ..."
(cd xml/expat; ./buildconf.sh)
fi