aboutsummaryrefslogtreecommitdiff
path: root/src/pt
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-09-06 12:34:39 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2022-09-06 12:34:39 +0200
commitafea0eea1ecfa41150fdf9ee052acac75eee6534 (patch)
tree1bb24bac4340262b15640fadbdb7beb8a32f695c /src/pt
parent1d4e7a0eec5ee96d878cdd0e4e3c62c0676bf2d0 (diff)
downloadgnunet-afea0eea1ecfa41150fdf9ee052acac75eee6534.tar.gz
gnunet-afea0eea1ecfa41150fdf9ee052acac75eee6534.zip
BUILD: Remove gnurl. Improve curl-gnutls detection
Diffstat (limited to 'src/pt')
-rw-r--r--src/pt/Makefile.am37
1 files changed, 10 insertions, 27 deletions
diff --git a/src/pt/Makefile.am b/src/pt/Makefile.am
index fc2cb592c..f4202457d 100644
--- a/src/pt/Makefile.am
+++ b/src/pt/Makefile.am
@@ -28,9 +28,6 @@ gnunet_daemon_pt_LDADD = \
28 $(top_builddir)/src/util/libgnunetutil.la \ 28 $(top_builddir)/src/util/libgnunetutil.la \
29 $(GN_LIBINTL) 29 $(GN_LIBINTL)
30 30
31if HAVE_LIBGNURL
32LIB_GNURL=@LIBGNURL@
33CPP_GNURL=@LIBGNURL_CPPFLAGS@
34if LINUX 31if LINUX
35 VPN_TEST = \ 32 VPN_TEST = \
36 test_gnunet_vpn-4_to_6 \ 33 test_gnunet_vpn-4_to_6 \
@@ -39,20 +36,6 @@ if LINUX
39 test_gnunet_vpn-4_over \ 36 test_gnunet_vpn-4_over \
40 test_gns_vpn 37 test_gns_vpn
41endif 38endif
42else
43if HAVE_LIBCURL
44LIB_GNURL=@LIBCURL@
45CPP_GNURL=@LIBCURL_CPPFLAGS@
46if LINUX
47 VPN_TEST = \
48 test_gnunet_vpn-4_to_6 \
49 test_gnunet_vpn-6_to_4 \
50 test_gnunet_vpn-6_over \
51 test_gnunet_vpn-4_over \
52 test_gns_vpn
53endif
54endif
55endif
56 39
57check_PROGRAMS = $(VPN_TEST) 40check_PROGRAMS = $(VPN_TEST)
58 41
@@ -69,42 +52,42 @@ EXTRA_DIST = \
69 52
70test_gns_vpn_SOURCES = \ 53test_gns_vpn_SOURCES = \
71 test_gns_vpn.c 54 test_gns_vpn.c
72test_gns_vpn_LDADD = $(MHD_LIBS) $(LIB_GNURL) \ 55test_gns_vpn_LDADD = $(MHD_LIBS) @LIBCURL@ \
73 $(top_builddir)/src/namestore/libgnunetnamestore.la \ 56 $(top_builddir)/src/namestore/libgnunetnamestore.la \
74 $(top_builddir)/src/identity/libgnunetidentity.la \ 57 $(top_builddir)/src/identity/libgnunetidentity.la \
75 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ 58 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
76 $(top_builddir)/src/testing/libgnunettesting.la \ 59 $(top_builddir)/src/testing/libgnunettesting.la \
77 $(top_builddir)/src/util/libgnunetutil.la 60 $(top_builddir)/src/util/libgnunetutil.la
78test_gns_vpn_CFLAGS = $(MHD_CFLAGS) $(CPP_GNURL) $(AM_CFLAGS) 61test_gns_vpn_CFLAGS = $(MHD_CFLAGS) @LIBCURL_CPPFLAGS@ $(AM_CFLAGS)
79 62
80test_gnunet_vpn_4_over_SOURCES = \ 63test_gnunet_vpn_4_over_SOURCES = \
81 test_gnunet_vpn.c 64 test_gnunet_vpn.c
82test_gnunet_vpn_4_over_LDADD = $(MHD_LIBS) $(LIB_GNURL) \ 65test_gnunet_vpn_4_over_LDADD = $(MHD_LIBS) @LIBCURL@ \
83 $(top_builddir)/src/vpn/libgnunetvpn.la \ 66 $(top_builddir)/src/vpn/libgnunetvpn.la \
84 $(top_builddir)/src/testing/libgnunettesting.la \ 67 $(top_builddir)/src/testing/libgnunettesting.la \
85 $(top_builddir)/src/util/libgnunetutil.la 68 $(top_builddir)/src/util/libgnunetutil.la
86test_gnunet_vpn_4_over_CFLAGS = $(MHD_CFLAGS) $(CPP_GNURL) $(AM_CFLAGS) 69test_gnunet_vpn_4_over_CFLAGS = $(MHD_CFLAGS) @LIBCURL_CPPFLAGS@ $(AM_CFLAGS)
87 70
88test_gnunet_vpn_6_over_SOURCES = \ 71test_gnunet_vpn_6_over_SOURCES = \
89 test_gnunet_vpn.c 72 test_gnunet_vpn.c
90test_gnunet_vpn_6_over_LDADD = $(MHD_LIBS) $(LIB_GNURL) \ 73test_gnunet_vpn_6_over_LDADD = $(MHD_LIBS) @LIBCURL@ \
91 $(top_builddir)/src/vpn/libgnunetvpn.la \ 74 $(top_builddir)/src/vpn/libgnunetvpn.la \
92 $(top_builddir)/src/testing/libgnunettesting.la \ 75 $(top_builddir)/src/testing/libgnunettesting.la \
93 $(top_builddir)/src/util/libgnunetutil.la 76 $(top_builddir)/src/util/libgnunetutil.la
94test_gnunet_vpn_6_over_CFLAGS = $(MHD_CFLAGS) $(CPP_GNURL) $(AM_CFLAGS) 77test_gnunet_vpn_6_over_CFLAGS = $(MHD_CFLAGS) @LIBCURL_CPPFLAGS@ $(AM_CFLAGS)
95 78
96test_gnunet_vpn_4_to_6_SOURCES = \ 79test_gnunet_vpn_4_to_6_SOURCES = \
97 test_gnunet_vpn.c 80 test_gnunet_vpn.c
98test_gnunet_vpn_4_to_6_LDADD = $(MHD_LIBS) $(LIB_GNURL) \ 81test_gnunet_vpn_4_to_6_LDADD = $(MHD_LIBS) @LIBCURL@ \
99 $(top_builddir)/src/vpn/libgnunetvpn.la \ 82 $(top_builddir)/src/vpn/libgnunetvpn.la \
100 $(top_builddir)/src/testing/libgnunettesting.la \ 83 $(top_builddir)/src/testing/libgnunettesting.la \
101 $(top_builddir)/src/util/libgnunetutil.la 84 $(top_builddir)/src/util/libgnunetutil.la
102test_gnunet_vpn_4_to_6_CFLAGS = $(MHD_CFLAGS) $(CPP_GNURL) $(AM_CFLAGS) 85test_gnunet_vpn_4_to_6_CFLAGS = $(MHD_CFLAGS) @LIBCURL_CPPFLAGS@ $(AM_CFLAGS)
103 86
104test_gnunet_vpn_6_to_4_SOURCES = \ 87test_gnunet_vpn_6_to_4_SOURCES = \
105 test_gnunet_vpn.c 88 test_gnunet_vpn.c
106test_gnunet_vpn_6_to_4_LDADD = $(MHD_LIBS) $(LIB_GNURL) \ 89test_gnunet_vpn_6_to_4_LDADD = $(MHD_LIBS) @LIBCURL@ \
107 $(top_builddir)/src/vpn/libgnunetvpn.la \ 90 $(top_builddir)/src/vpn/libgnunetvpn.la \
108 $(top_builddir)/src/testing/libgnunettesting.la \ 91 $(top_builddir)/src/testing/libgnunettesting.la \
109 $(top_builddir)/src/util/libgnunetutil.la 92 $(top_builddir)/src/util/libgnunetutil.la
110test_gnunet_vpn_6_to_4_CFLAGS = $(MHD_CFLAGS) $(CPP_GNURL) $(AM_CFLAGS) 93test_gnunet_vpn_6_to_4_CFLAGS = $(MHD_CFLAGS) @LIBCURL_CPPFLAGS@ $(AM_CFLAGS)