From 5ebfb006ccc4a90777c4266623fd5ee05d8d9dd4 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 10 Apr 2015 14:08:03 +0800 Subject: update autoconf to detect Kyoto Cabinet --- src/storage/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/storage') diff --git a/src/storage/Makefile.am b/src/storage/Makefile.am index d805f18..7c28ed8 100644 --- a/src/storage/Makefile.am +++ b/src/storage/Makefile.am @@ -49,7 +49,7 @@ libstorage_la_CXXFLAGS = "-fPIC" libstorage_la_LDFLAGS = -static -libstorage_la_SOURCES = phrase_index.cpp \ +libstorage_la_SOURCES = phrase_index.cpp \ phrase_large_table2.cpp \ ngram.cpp \ tag_utility.cpp \ @@ -57,3 +57,6 @@ libstorage_la_SOURCES = phrase_index.cpp \ chewing_large_table.cpp \ table_info.cpp +if BERKELEYDB +libstorage_la_SOURCES += ngram_bdb.cpp +endif -- cgit