Only compile plugin when we have sqlite.
authorFlorian Dold <florian.dold@gmail.com>
Wed, 16 Mar 2016 17:27:19 +0000 (17:27 +0000)
committerFlorian Dold <florian.dold@gmail.com>
Wed, 16 Mar 2016 17:27:19 +0000 (17:27 +0000)
src/peerstore/Makefile.am

index 8cbde94f7c80ac73add0bdc87319af13abb12c4d..e8d865c465e5afdf6050d30b23013ae0852f1eb5 100644 (file)
@@ -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 \