blob: 4820d01c18858eb62f98b9b6cc9d9f8f5c58c1c0 [file] [log] [blame]
#!/bin/sh
# Remove aclocal.m4 as it'll break some builds...
rm -f aclocal.m4
#
# Generate the autoconf header (include/apu_config.h) and ./configure
#
echo "Creating include/private/apu_config.h ..."
autoheader
echo "Creating configure ..."
### do some work to toss config.cache?
if 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