diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-04-13 12:57:05 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-04-13 12:57:05 +0200 |
commit | b69e3bf14b5ed73962daa9dfc3f0103b63038177 (patch) | |
tree | e63b5d581206a76902fe27b437726d003d2eeacc /src | |
parent | f1e025379401c7e9430e3eab9769c7a4ae7976e5 (diff) | |
download | exchange-b69e3bf14b5ed73962daa9dfc3f0103b63038177.tar.gz exchange-b69e3bf14b5ed73962daa9dfc3f0103b63038177.tar.bz2 exchange-b69e3bf14b5ed73962daa9dfc3f0103b63038177.zip |
make build succeed even without libgnurl or libpq
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 8 | ||||
-rw-r--r-- | src/mintdb/Makefile.am | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index a2d3ebcd9..e3a17f723 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,9 @@ # This Makefile.am is in the public domain AM_CPPFLAGS = -I$(top_srcdir)/src/include -SUBDIRS = include util pq mintdb mint mint-tools mint-lib +if HAVE_POSTGRESQL + PQ_DIR = pq +endif +SUBDIRS = include util $(PQ_DIR) mintdb mint mint-tools +if HAVE_LIBCURL + SUBDIRS += mint-lib +endif diff --git a/src/mintdb/Makefile.am b/src/mintdb/Makefile.am index acd863468..be62d96fe 100644 --- a/src/mintdb/Makefile.am +++ b/src/mintdb/Makefile.am @@ -3,8 +3,10 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/pq/ $(POSTGRESQL_C plugindir = $(libdir)/taler +if HAVE_POSTGRESQL plugin_LTLIBRARIES = \ libtaler_plugin_mintdb_postgres.la +endif EXTRA_DIST = \ plugin_mintdb_common.c \ |