2010-12-05 13:40:02 +01:00
|
|
|
#!/bin/sh
|
2016-12-11 17:30:12 +01:00
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
|
|
|
|
test -f mu/mu.cc || {
|
|
|
|
echo "*** Run this script from the top-level mu source directory"
|
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
|
2017-11-04 11:49:28 +01:00
|
|
|
command -V autoreconf > /dev/null
|
|
|
|
if [[ $? != 0 ]]; then
|
2016-12-11 17:30:12 +01:00
|
|
|
echo "*** No autoreconf found, please install it ***"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2016-12-28 15:32:03 +01:00
|
|
|
rm -f config.cache
|
2016-12-11 17:30:12 +01:00
|
|
|
rm -rf autom4te.cache
|
2016-12-28 15:32:03 +01:00
|
|
|
|
2016-12-11 17:30:12 +01:00
|
|
|
autoreconf --force --install --verbose || exit $?
|
|
|
|
|
|
|
|
if test -z "$*"; then
|
|
|
|
echo "# Configuring without parameters"
|
|
|
|
else
|
|
|
|
echo "# Configure with parameters $*"
|
|
|
|
fi
|
|
|
|
|
2016-12-28 15:32:03 +01:00
|
|
|
./configure --config-cache $@
|