+# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include
pkgcfgdir= $(pkgdatadir)/config.d/
libexecdir= $(pkglibdir)/libexec/
-dist_pkgcfg_DATA = \
- hostlist.conf
if USE_COVERAGE
AM_CFLAGS = --coverage -O0
if HAVE_LIBGNURL
libexec_PROGRAMS = \
gnunet-daemon-hostlist
+LIB_GNURL=@LIBGNURL@
+CPP_GNURL=@LIBGNURL_CPPFLAGS@
+dist_pkgcfg_DATA = \
+ hostlist.conf
+else
+if HAVE_LIBCURL
+libexec_PROGRAMS = \
+ gnunet-daemon-hostlist
+LIB_GNURL=@LIBCURL@
+CPP_GNURL=@LIBCURL_CPPFLAGS@
+dist_pkgcfg_DATA = \
+ hostlist.conf
+endif
endif
gnunet_daemon_hostlist_SOURCES = \
$(top_builddir)/src/transport/libgnunettransport.la \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIBMHD) \
- @LIBGNURL@ \
+ $(LIB_GNURL) \
$(GN_LIBINTL)
gnunet_daemon_hostlist_CPPFLAGS = \
- @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS)
+ $(CPP_GNURL) \
+ $(AM_CPPFLAGS)
if HAVE_LIBGNURL
check_PROGRAMS = \