Update the messages printed when the wrong version of autoconf/aclocal
is found to include the expected version too, like we already do for
automake.
gdb/ChangeLog:
* gnulib/update-gnulib.sh: Print expected versions of
autoconf/aclocal.
+2018-06-14 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * gnulib/update-gnulib.sh: Print expected versions of
+ autoconf/aclocal.
+
2018-06-14 Simon Marchi <simon.marchi@ericsson.com>
* arch-utils.c (default_type_align): Use type_length_units.
# Verify that we have the correct version of autoconf.
ver=`autoconf --version 2>&1 | head -1 | sed 's/.*) //'`
if [ "$ver" != "$AUTOCONF_VERSION" ]; then
- echo "Error: Wrong autoconf version: $ver. Aborting."
+ echo "Error: Wrong autoconf version ($ver), we need $AUTOCONF_VERSION."
+ echo "Aborting."
exit 1
fi
#
ver=`aclocal --version 2>&1 | grep -v "called too early to check prototype" | head -1 | sed 's/.*) //'`
if [ "$ver" != "$ACLOCAL_VERSION" ]; then
- echo "Error: Wrong aclocal version: $ver. Aborting."
+ echo "Error: Wrong aclocal version ($ver), we need $ACLOCAL_VERSION."
+ echo "Aborting."
exit 1
fi