autogen.sh now fails if aclocal fails.
authorRichard Boulton <richard@tartarus.org>
Tue, 22 May 2001 13:48:48 +0000 (13:48 +0000)
committerRichard Boulton <richard@tartarus.org>
Tue, 22 May 2001 13:48:48 +0000 (13:48 +0000)
Original commit message from CVS:
autogen.sh now fails if aclocal fails.

autogen.sh

index 5926f6e..b8170ef 100755 (executable)
@@ -54,7 +54,10 @@ if test -z "$*"; then
 fi
 
 libtoolize --copy --force
-aclocal $ACLOCAL_FLAGS
+aclocal $ACLOCAL_FLAGS || {
+       echo "aclocal failed - check that all needed development files are present on system"
+       exit 1
+}
 autoheader
 autoconf
 automake --add-missing