diff options
author | Nicola Bertoldi <bertoldi@dolcenera.(none)> | 2011-11-17 21:35:01 +0400 |
---|---|---|
committer | Nicola Bertoldi <bertoldi@dolcenera.(none)> | 2011-11-17 21:35:01 +0400 |
commit | e6bfa529e48990d2336ef02d3ec48dfff04af9fc (patch) | |
tree | 60f1857c1d29b934dcac79112502e28e2989a138 /regenerate-makefiles.sh | |
parent | ba5633c7b57b8843f9befc836db78989f3d15652 (diff) |
bug fixed in generate-makefiles.sh
Diffstat (limited to 'regenerate-makefiles.sh')
-rwxr-xr-x | regenerate-makefiles.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/regenerate-makefiles.sh b/regenerate-makefiles.sh index baadeb0e5..e152ba2fc 100755 --- a/regenerate-makefiles.sh +++ b/regenerate-makefiles.sh @@ -59,17 +59,18 @@ echo >&2 "Detected autoconf: $($AUTOCONF --version | head -n1)" echo >&2 "Detected automake: $($AUTOMAKE --version | head -n1)" echo >&2 "Detected libtoolize: $($LIBTOOLIZE --version | head -n1)" -echo "Calling $ACLOCAL..." +echo "Calling $ACLOCAL -I m4..." $ACLOCAL -I m4 || die "aclocal failed" + echo "Calling $AUTOCONF..." $AUTOCONF || die "autoconf failed" -rm ltmain.sh 2>/dev/null -touch ltmain.sh -echo "Calling $AUTOMAKE..." -$AUTOMAKE || die "automake failed" + echo "Calling $LIBTOOLIZE" $LIBTOOLIZE || die "libtoolize failed" +echo "Calling $AUTOMAKE --add-missing..." +$AUTOMAKE --add-missing || die "automake failed" + case `uname -s` in Darwin) cores=$(sysctl -n hw.ncpu) @@ -92,7 +93,7 @@ fi echo echo "You should now be able to configure and build:" -echo " ./configure [--with-srilm=/path/to/srilm] [--with-irstlm=/path/to/irstlm] [--with-randlm=/path/to/randlm] [--with-synlm] [--with-xmlrpc-c=/path/to/xmlrpc-c-config]" +echo " ./configure [--with-srilm=/path/to/srilm] [--with-irstlm=/path/to/irstlm] [--with-randlm=/path/to/randlm] [--without-kenlm] [--with-synlm] [--with-xmlrpc-c=/path/to/xmlrpc-c-config]" echo " make -j ${cores}" echo |