diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2014-08-08 22:20:48 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2014-08-08 22:20:48 +0000 |
commit | f831fabcad550115c2e83260cdf0894773692502 (patch) | |
tree | 561ce7a4309a36383a35ac0ac6bc504079a2ac99 /src/datacache/Makefile.am | |
parent | b67016043fe41bfe3832384a1fb7503ef2220364 (diff) | |
download | gnunet-f831fabcad550115c2e83260cdf0894773692502.tar.gz gnunet-f831fabcad550115c2e83260cdf0894773692502.zip |
Include libpq-fe.h instead of postgres/libpq-fe.h.
Also add a macro for checking libpq from Autoconf macro archives.
Diffstat (limited to 'src/datacache/Makefile.am')
-rw-r--r-- | src/datacache/Makefile.am | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/datacache/Makefile.am b/src/datacache/Makefile.am index 7a89da852..941072396 100644 --- a/src/datacache/Makefile.am +++ b/src/datacache/Makefile.am | |||
@@ -19,7 +19,7 @@ endif | |||
19 | if HAVE_SQLITE | 19 | if HAVE_SQLITE |
20 | SQLITE_PLUGIN = libgnunet_plugin_datacache_sqlite.la | 20 | SQLITE_PLUGIN = libgnunet_plugin_datacache_sqlite.la |
21 | endif | 21 | endif |
22 | if HAVE_POSTGRES | 22 | if HAVE_POSTGRESQL |
23 | POSTGRES_PLUGIN = libgnunet_plugin_datacache_postgres.la | 23 | POSTGRES_PLUGIN = libgnunet_plugin_datacache_postgres.la |
24 | endif | 24 | endif |
25 | 25 | ||
@@ -68,11 +68,11 @@ libgnunet_plugin_datacache_postgres_la_LIBADD = \ | |||
68 | $(top_builddir)/src/postgres/libgnunetpostgres.la \ | 68 | $(top_builddir)/src/postgres/libgnunetpostgres.la \ |
69 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 69 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
70 | $(top_builddir)/src/util/libgnunetutil.la \ | 70 | $(top_builddir)/src/util/libgnunetutil.la \ |
71 | $(GN_PLUGIN_LDFLAGS) $(POSTGRES_LDFLAGS) -lpq | 71 | $(GN_PLUGIN_LDFLAGS) -lpq |
72 | libgnunet_plugin_datacache_postgres_la_CPPFLAGS = \ | 72 | libgnunet_plugin_datacache_postgres_la_CPPFLAGS = \ |
73 | $(POSTGRES_CPPFLAGS) $(AM_CPPFLAGS) | 73 | $(POSTGRESQL_CPPFLAGS) $(AM_CPPFLAGS) |
74 | libgnunet_plugin_datacache_postgres_la_LDFLAGS = \ | 74 | libgnunet_plugin_datacache_postgres_la_LDFLAGS = \ |
75 | $(GN_PLUGIN_LDFLAGS) $(POSTGRES_LDFLAGS) -lpq | 75 | $(GN_PLUGIN_LDFLAGS) $(POSTGRESQL_LDFLAGS) |
76 | 76 | ||
77 | libgnunet_plugin_datacache_template_la_SOURCES = \ | 77 | libgnunet_plugin_datacache_template_la_SOURCES = \ |
78 | plugin_datacache_template.c | 78 | plugin_datacache_template.c |
@@ -104,7 +104,7 @@ HEAP_TESTS = \ | |||
104 | test_datacache_quota_heap \ | 104 | test_datacache_quota_heap \ |
105 | $(HEAP_BENCHMARKS) | 105 | $(HEAP_BENCHMARKS) |
106 | 106 | ||
107 | if HAVE_POSTGRES | 107 | if HAVE_POSTGRESQL |
108 | if HAVE_BENCHMARKS | 108 | if HAVE_BENCHMARKS |
109 | POSTGRES_BENCHMARKS = \ | 109 | POSTGRES_BENCHMARKS = \ |
110 | perf_datacache_postgres | 110 | perf_datacache_postgres |