mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-30 15:34:01 +03:00
check automake version (submitted by Lane Schwartz)
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1333 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
c17316495c
commit
16e031f1cf
@ -5,12 +5,28 @@ function die () {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Calling aclocal..."
|
if [ -z "$ACLOCAL" ]
|
||||||
aclocal || die "aclocal failed"
|
then
|
||||||
echo "Calling autoconf..."
|
ACLOCAL=`which aclocal`
|
||||||
autoconf || die "autoconf failed"
|
fi
|
||||||
echo "Calling automake..."
|
|
||||||
automake || die "automake failed"
|
if [ -z "$AUTOMAKE" ]
|
||||||
|
then
|
||||||
|
AUTOMAKE=`which automake`
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$AUTOCONF" ]
|
||||||
|
then
|
||||||
|
AUTOCONF=`which autoconf`
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
echo "Calling $ACLOCAL..."
|
||||||
|
$ACLOCAL || die "aclocal failed"
|
||||||
|
echo "Calling $AUTOCONF..."
|
||||||
|
$AUTOCONF || die "autoconf failed"
|
||||||
|
echo "Calling $AUTOMAKE..."
|
||||||
|
$AUTOMAKE || die "automake failed"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "You should now be able to configure and build:"
|
echo "You should now be able to configure and build:"
|
||||||
|
Loading…
Reference in New Issue
Block a user