The comparison is incorrect, and the check also breaks daily work on
autobuilders and older distros.
This reverts commit
dbc4dda7f5b66c9905c3cf6e44414536a5b38177.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
-#!/bin/bash
+#!/bin/sh
if test ! -f configure.ac ; then
echo "You must execute this script from the top level directory."
rm -rf config.cache autom4te.cache
-ACLOCAL_VERSION=$(${ACLOCAL:-aclocal} --version | head -1 | \
- sed -e 's/^[^0-9]*\([0-9\.]*\)$/\1/')
-
-if [[ "$ACLOCAL_VERSION" < "1.11.1" ]]; then
- echo "aclocal version $ACLOCAL_VERSION is too old (< 1.11.1)"
- exit 1
-fi
-
${ACLOCAL:-aclocal} -I autotools
${AUTOCONF:-autoconf}
${AUTOMAKE:-automake} --add-missing