summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-04-13 12:57:05 +0200
committerChristian Grothoff <christian@grothoff.org>2015-04-13 12:57:05 +0200
commitb69e3bf14b5ed73962daa9dfc3f0103b63038177 (patch)
treee63b5d581206a76902fe27b437726d003d2eeacc /src/Makefile.am
parentf1e025379401c7e9430e3eab9769c7a4ae7976e5 (diff)
downloadexchange-b69e3bf14b5ed73962daa9dfc3f0103b63038177.tar.gz
exchange-b69e3bf14b5ed73962daa9dfc3f0103b63038177.tar.bz2
exchange-b69e3bf14b5ed73962daa9dfc3f0103b63038177.zip
make build succeed even without libgnurl or libpq
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a2d3ebcd..e3a17f72 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