blob: 8a05816e6b50a0f424915ed1de2930352b5bf4ff [file] [log] [blame]
#!/bin/sh
if [ -d .git ]; then
echo -n "checking for git... "
which git || {
echo "*** No git found, please install it ***"
exit 1
}
echo "running git submodule init"
git submodule init || exit $?
echo "running git submodule update"
git submodule update || exit $?
fi
echo -n "checking for pkg-config... "
which pkg-config || {
echo "*** No pkg-config found, please install it ***"
exit 1
}
echo -n "checking for autoreconf... "
which autoreconf || {
echo "*** No autoreconf (autoconf) found, please install it ***"
exit 1
}
echo "running autoreconf --force --install --verbose"
autoreconf --force --install --verbose || exit $?