Files
mercury/prepare.sh
Julien Fischer 093b9688ac Do not warn about obsolete autoconf macros.
prepare.sh:
    As above.
2021-06-07 21:54:59 +10:00

20 lines
600 B
Bash
Executable File

#!/bin/sh -e
# This script should be run in a fresh git checkout in order to initialise
# the necessary git submodules and produce the configure script.
if [ ! -e boehm_gc/.git ]; then
echo "Setting up submodules"
if git submodule --quiet init; then
git submodule update --remote --init --recursive
else
echo "There was a problem configuring the submodules. If the"
echo "repositories could not be found then edit .git/config and run"
echo "get submodule update"
exit 1
fi
fi
echo "Setting up autotools"
aclocal -I m4
autoconf -Wno-obsolete