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/Makefile.am | |
parent | f1e025379401c7e9430e3eab9769c7a4ae7976e5 (diff) |
make build succeed even without libgnurl or libpq
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 8 |
1 files changed, 7 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 |