gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r12385 - in gnunet/src: datacache datastore


From: gnunet
Subject: [GNUnet-SVN] r12385 - in gnunet/src: datacache datastore
Date: Wed, 28 Jul 2010 22:19:39 +0200

Author: grothoff
Date: 2010-07-28 22:19:39 +0200 (Wed, 28 Jul 2010)
New Revision: 12385

Modified:
   gnunet/src/datacache/Makefile.am
   gnunet/src/datastore/Makefile.am
Log:
fixing #1589

Modified: gnunet/src/datacache/Makefile.am
===================================================================
--- gnunet/src/datacache/Makefile.am    2010-07-28 20:13:14 UTC (rev 12384)
+++ gnunet/src/datacache/Makefile.am    2010-07-28 20:19:39 UTC (rev 12385)
@@ -11,6 +11,9 @@
   XLIBS = -lgcov
 endif
 
+if HAVE_SQLITE
+  SQLITE_PLUGIN = libgnunet_plugin_datacache_sqlite.la
+endif
 
 lib_LTLIBRARIES = \
   libgnunetdatacache.la
@@ -27,7 +30,7 @@
 
 
 plugin_LTLIBRARIES = \
-  libgnunet_plugin_datacache_sqlite.la \
+  $(SQLITE_PLUGIN) \
   libgnunet_plugin_datacache_template.la 
 
 
@@ -47,11 +50,15 @@
  $(GN_PLUGIN_LDFLAGS)
 
 
-check_PROGRAMS = \
+if HAVE_SQLITE
+  SQLITE_TESTS = \
  test_datacache \
  test_datacache_quota \
  perf_datacache 
+endif
 
+check_PROGRAMS = $(SQLITE_TESTS) 
+
 if !DISABLE_TEST_RUN
 TESTS = $(check_PROGRAMS)
 endif

Modified: gnunet/src/datastore/Makefile.am
===================================================================
--- gnunet/src/datastore/Makefile.am    2010-07-28 20:13:14 UTC (rev 12384)
+++ gnunet/src/datastore/Makefile.am    2010-07-28 20:19:39 UTC (rev 12385)
@@ -35,9 +35,12 @@
   $(top_builddir)/src/util/libgnunetutil.la \
   $(GN_LIBINTL)
 
+if HAVE_SQLITE
+  SQLITE_PLUGIN = libgnunet_plugin_datastore_sqlite.la
+endif
 
 plugin_LTLIBRARIES = \
-  libgnunet_plugin_datastore_sqlite.la \
+  $(SQLITE_PLUGIN) \
   libgnunet_plugin_datastore_template.la 
 
 
@@ -57,12 +60,18 @@
  $(GN_PLUGIN_LDFLAGS)
 
 
-check_PROGRAMS = \
+if HAVE_SQLITE
+SQLITE_TESTS = \
  test_datastore_api \
  test_datastore_api_management \
  perf_datastore_api \
  perf_plugin_datastore
 
+endif
+
+check_PROGRAMS = \
+  $(SQLITE_TESTS)
+
 if !DISABLE_TEST_RUN
 TESTS = $(check_PROGRAMS)
 endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]