(trunk) #3901 "Confusing error message when libtool is missing" -- fixed.

autogen.sh invokes autoreconf without checking to see if it fails (as it does if libtool can't be found). In such cases it also invokes a broken doomed version of the configure script, which generates a lot of red herring messages that distract from the real problem encountered by autoreconf.

The fix is to exit autogen.sh if its call to autoreconf fails.
This commit is contained in:
Jordan Lee 2011-01-22 03:28:06 +00:00
parent 413c91f4a8
commit 2322b32591
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,10 @@ export LIBTOOLIZE
./update-version-h.sh
autoreconf -fi
if [[ $? -ne 0 ]]; then
exit 1
fi
if test "$GETTEXTIZE"; then
echo "Creating aclocal.m4 ..."