Files
mu4e/autogen.sh
Dirk-Jan C. Binnema 5c5716d3f0 bump version to 1.3.4
plus some build tweaks.
2019-07-30 19:36:04 +03:00

35 lines
754 B
Bash
Executable File

#!/bin/sh
# 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
}
# opportunistically; usually not needed, but occassionaly it'll
# avoid build errors that would otherwise confuse users.
test -f Makefile && {
echo "*** clear out old things"
make distclean 2> /dev/null
}
command -V autoreconf > /dev/null
if [ $? != 0 ]; then
echo "*** No autoreconf found, please install it ***"
exit 1
fi
rm -f config.cache
rm -rf autom4te.cache
autoreconf --force --install --verbose || exit $?
if test -z "$*"; then
echo "# Configuring without parameters"
else
echo "# Configure with parameters $*"
fi
./configure --config-cache $@