summaryrefslogtreecommitdiff
path: root/gdb/gnulib/update-gnulib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gnulib/update-gnulib.sh')
-rwxr-xr-xgdb/gnulib/update-gnulib.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/gnulib/update-gnulib.sh b/gdb/gnulib/update-gnulib.sh
index 74ccfb0e18e..70c23e80c05 100755
--- a/gdb/gnulib/update-gnulib.sh
+++ b/gdb/gnulib/update-gnulib.sh
@@ -107,7 +107,8 @@ fi
# 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
@@ -138,7 +139,8 @@ 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