From b69e3bf14b5ed73962daa9dfc3f0103b63038177 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 13 Apr 2015 12:57:05 +0200 Subject: make build succeed even without libgnurl or libpq --- src/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/Makefile.am') 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 -- cgit v1.2.3