diff options
author | Jonathan Clark <jon.h.clark@gmail.com> | 2011-03-10 06:54:59 -0500 |
---|---|---|
committer | Jonathan Clark <jon.h.clark@gmail.com> | 2011-03-10 06:54:59 -0500 |
commit | 7491d7f72bd50cbc08a28f64cc3939a310d65801 (patch) | |
tree | fe18c5bc6ca1e0bf18f0ca473833162ecd3a908b /configure.ac | |
parent | 8c8ff6c6915ebc5ce30156e3f05bf8d1966ec0a1 (diff) | |
parent | 4f9933d668d247ea5831c3f2af0b996a94da28f7 (diff) |
Merge branch 'master' of git://github.com/redpony/cdec
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/configure.ac b/configure.ac index c84d671f..56f08147 100644 --- a/configure.ac +++ b/configure.ac @@ -36,13 +36,6 @@ then LIBS="$LIBS -lboost_mpi $BOOST_SERIALIZATION_LIBS -lmpi++ -lmpi" fi -AM_CONDITIONAL([SRI_LM], false) -AC_ARG_WITH(srilm, - [AC_HELP_STRING([--with-srilm=PATH], [(optional) path to SRI's LM toolkit])], - [with_srilm=$withval], - [with_srilm=no] - ) - AM_CONDITIONAL([RAND_LM], false) AC_ARG_WITH(randlm, [AC_HELP_STRING([--with-randlm=PATH], [(optional) path to RandLM toolkit])], @@ -58,26 +51,6 @@ AC_ARG_WITH(glc, ) FF_GLC="" -if test "x$with_srilm" != 'xno' -then - SAVE_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS -I${with_srilm}/include" - - AC_CHECK_HEADER(Ngram.h, - [AC_DEFINE([HAVE_SRILM], [], [flag for SRILM])], - [AC_MSG_ERROR([Cannot find SRILM!])]) - - LIB_SRILM="-loolm -ldstruct -lmisc" - # ROOT/lib/i686-m64/liboolm.a - # ROOT/lib/i686-m64/libdstruct.a - # ROOT/lib/i686-m64/libmisc.a - MY_ARCH=`${with_srilm}/sbin/machine-type` - LDFLAGS="$LDFLAGS -L${with_srilm}/lib/${MY_ARCH}" - LIBS="$LIBS $LIB_SRILM" - FMTLIBS="$FMTLIBS liboolm.a libdstruct.a libmisc.a" - AM_CONDITIONAL([SRI_LM], true) -fi - if test "x$with_randlm" != 'xno' then SAVE_CPPFLAGS="$CPPFLAGS" |