From 613ccc6ea2401e76099a97d3698f13b8ea283497 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Sun, 24 Jan 2010 08:36:21 +0000 Subject: Support building without gtest Now the only dependence is boost, which most modern linux distros have. --- decoder/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'decoder/Makefile.am') 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 -- cgit v1.2.3