mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-10 19:44:59 +03:00
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:
parent
4237cba9c3
commit
6eacf476f0
@ -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:"
|
||||
|
Loading…
Reference in New Issue
Block a user