mirror of https://github.com/djcb/mu.git
24 lines
485 B
Bash
Executable File
24 lines
485 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
|
|
}
|
|
|
|
if test -z `which autoreconf`; then
|
|
echo "*** No autoreconf found, please install it ***"
|
|
exit 1
|
|
fi
|
|
|
|
rm -rf autom4te.cache
|
|
autoreconf --force --install --verbose || exit $?
|
|
|
|
if test -z "$*"; then
|
|
echo "# Configuring without parameters"
|
|
else
|
|
echo "# Configure with parameters $*"
|
|
fi
|
|
|
|
./configure $@
|