Die if aclocal, autoconf or automake fail.

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1213 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
bojar 2007-02-15 01:49:37 +00:00
parent 4237cba9c3
commit 6eacf476f0

View File

@ -1,11 +1,16 @@
#!/bin/sh
#!/bin/bash
function die () {
echo "$@" >&2
exit 1
}
echo "Calling aclocal..."
aclocal
aclocal || die "aclocal failed"
echo "Calling autoconf..."
autoconf
autoconf || die "autoconf failed"
echo "Calling automake..."
automake
automake || die "automake failed"
echo
echo "You should now be able to configure and build:"