From: Florian Dold Date: Wed, 16 Mar 2016 17:27:19 +0000 (+0000) Subject: Only compile plugin when we have sqlite. X-Git-Tag: initial-import-from-subversion-38251~1015 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5deeabd24d11f46d41abd12364417faa729ad20c;p=oweals%2Fgnunet.git Only compile plugin when we have sqlite. --- diff --git a/src/peerstore/Makefile.am b/src/peerstore/Makefile.am index 8cbde94f7..e8d865c46 100644 --- a/src/peerstore/Makefile.am +++ b/src/peerstore/Makefile.am @@ -51,6 +51,8 @@ libgnunetpeerstore_la_LIBADD = \ libgnunetpeerstore_la_LDFLAGS = \ $(GN_LIB_LDFLAGS) +if HAVE_SQLITE + plugin_LTLIBRARIES = \ libgnunet_plugin_peerstore_sqlite.la @@ -62,6 +64,9 @@ libgnunet_plugin_peerstore_sqlite_la_LIBADD = \ $(LTLIBINTL) libgnunet_plugin_peerstore_sqlite_la_LDFLAGS = \ $(GN_PLUGIN_LDFLAGS) +end + +endif check_PROGRAMS = \ test_peerstore_api_store \