1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
set -e
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
cd "$srcdir"
mkdir -p m4 >/dev/null 2>&1 || true
autoconf --version | head -n1
automake --version | head -n1
autoreconf --verbose --force --install
intltoolize --force
cd -
if ! grep -q AX_CXX_COMPILE_STDCXX_11 aclocal.m4; then
echo
echo "ERROR: The AX_CXX_COMPILE_STDCXX_11 macro from the GNU Autoconf Archive was not found."
echo
echo "Try installing the autoconf-archive package and re-running autogen.sh"
echo
exit 1
fi
echo
echo "----------------------------------------------------------------"
echo "Initialized build system. For a common configuration please run:"
echo "----------------------------------------------------------------"
echo
echo "./configure"
echo
|