From: Jordan Lee Date: Sat, 22 Jan 2011 03:28:06 +0000 (+0000) Subject: (trunk) #3901 "Confusing error message when libtool is missing" -- fixed. X-Git-Tag: 2.20b2~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2322b3259147894c983ea0bccd9fe82c800df5c2;p=transmission (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. --- diff --git a/autogen.sh b/autogen.sh index 9273b9923..56f2b745d 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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 ..."