diff options
author | Chris Dyer <redpony@gmail.com> | 2010-01-24 08:36:21 +0000 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2010-01-24 08:36:21 +0000 |
commit | 613ccc6ea2401e76099a97d3698f13b8ea283497 (patch) | |
tree | 5d0c3af86e3986f033ce23fbfb445fb19f0097f1 /decoder | |
parent | a216521744cd4bf1c9935d99c5e53e4198301b57 (diff) |
Support building without gtest
Now the only dependence is boost, which most modern linux distros have.
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/Makefile.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/decoder/Makefile.am b/decoder/Makefile.am index 4c86ae6f..19c22bc5 100644 --- a/decoder/Makefile.am +++ b/decoder/Makefile.am @@ -1,4 +1,7 @@ -bin_PROGRAMS = \ +bin_PROGRAMS = cdec + +if HAVE_GTEST +noinst_PROGRAMS = \ dict_test \ weights_test \ trule_test \ @@ -6,8 +9,8 @@ bin_PROGRAMS = \ ff_test \ parser_test \ grammar_test \ - cdec \ small_vector_test +endif cdec_SOURCES = cdec.cc forest_writer.cc maxtrans_blunsom.cc cdec_ff.cc ff_factory.cc timing_stats.cc small_vector_test_SOURCES = small_vector_test.cc |