diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-08-16 14:22:01 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-08-16 14:22:01 +0200 |
commit | f0a796a3f6d4329555506b3464b6d174f53fd9cf (patch) | |
tree | dc65c5fc2eebab69c0b7d5b0a2b2143a38a080be /src/wire-plugins/Makefile.am | |
parent | a1f289512eac8596bff88bbffc69c5a271324120 (diff) |
make curl check saner, use AS_IF
Diffstat (limited to 'src/wire-plugins/Makefile.am')
-rw-r--r-- | src/wire-plugins/Makefile.am | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/wire-plugins/Makefile.am b/src/wire-plugins/Makefile.am index 9f6029d7f..393bfb1b8 100644 --- a/src/wire-plugins/Makefile.am +++ b/src/wire-plugins/Makefile.am @@ -18,8 +18,17 @@ EXTRA_DIST = \ plugindir = $(libdir)/taler plugin_LTLIBRARIES = \ - libtaler_plugin_wire_ebics.la \ - libtaler_plugin_wire_taler_bank.la + libtaler_plugin_wire_ebics.la + +if HAVE_LIBCURL +plugin_LTLIBRARIES += \ + libtaler_plugin_wire_taler_bank.la +else +if HAVE_LIBGNURL +plugin_LTLIBRARIES += \ + libtaler_plugin_wire_taler_bank.la +endif +endif noinst_LTLIBRARIES = \ libtaler_plugin_wire_template.la @@ -44,9 +53,7 @@ libtaler_plugin_wire_ebics_la_LIBADD = \ $(LTLIBINTL) libtaler_plugin_wire_ebics_la_LDFLAGS = \ $(TALER_PLUGIN_LDFLAGS) \ - $(top_builddir)/src/json/libtalerjson.la \ $(top_builddir)/src/util/libtalerutil.la \ - -lgnunetjson \ -lgnunetutil $(XLIB) |