aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac33
-rw-r--r--po/POTFILES.in100
-rw-r--r--src/gns/Makefile.am12
-rw-r--r--src/hostlist/Makefile.am14
-rw-r--r--src/pt/Makefile.am44
-rw-r--r--src/transport/Makefile.am37
6 files changed, 171 insertions, 69 deletions
diff --git a/configure.ac b/configure.ac
index 24915a14e..687ea1e20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -461,6 +461,27 @@ else
461 AM_CONDITIONAL(HAVE_LIBGNURL, false) 461 AM_CONDITIONAL(HAVE_LIBGNURL, false)
462fi 462fi
463 463
464# libcurl-gnutls
465LIBCURL_CHECK_CONFIG(,7.34.0,[curl=true],[curl=false])
466if test "x$curl" = xtrue
467then
468 AC_CHECK_HEADERS([curl/curl.h],
469 AC_CHECK_DECLS(CURLINFO_TLS_SESSION,[curl=true],[curl=false],[[#include <curl/curl.h>]]),
470 [curl=false])
471 # need libcurl-gnutls.so, everything else is not acceptable
472 AC_CHECK_LIB([curl-gnutls],[curl_easy_getinfo],,[curl=false])
473 # cURL must support CURLINFO_TLS_SESSION, version >= 7.34
474
475fi
476if test x$curl = xfalse
477then
478 AM_CONDITIONAL(HAVE_LIBCURL, false)
479 AC_MSG_WARN([GNUnet requires libcurl-gnutls >= 7.34])
480else
481 AM_CONDITIONAL(HAVE_LIBCURL, true)
482 AC_DEFINE([HAVE_LIBCURL],[1],[Have CURL])
483fi
484
464 485
465# libidn 486# libidn
466AC_MSG_CHECKING([if Libidn can be used]) 487AC_MSG_CHECKING([if Libidn can be used])
@@ -1197,7 +1218,7 @@ AC_ARG_ENABLE([malicious],
1197 [malicious=0 1218 [malicious=0
1198 enable_malicious=no]) 1219 enable_malicious=no])
1199AC_MSG_RESULT($enable_malicious) 1220AC_MSG_RESULT($enable_malicious)
1200AM_CONDITIONAL([ENABLE_MALICIOUS], [$malicious]) 1221AM_CONDITIONAL([ENABLE_MALICIOUS], [1=$malicious])
1201AC_DEFINE_UNQUOTED([ENABLE_MALICIOUS], [$malicious], 1222AC_DEFINE_UNQUOTED([ENABLE_MALICIOUS], [$malicious],
1202 [enable compilation of malicious code]) 1223 [enable compilation of malicious code])
1203 1224
@@ -1552,10 +1573,16 @@ fi
1552# libgnurl 1573# libgnurl
1553if test "x$gnurl" = "x0" 1574if test "x$gnurl" = "x0"
1554then 1575then
1555 AC_MSG_NOTICE([NOTICE: libgnurl not found. http client support will not be compiled.]) 1576 if test "x$curl" = "x0"
1556 AC_MSG_WARN([libgnurl not found. hostlist daemon will not be compiled, and you probably WANT hostlist daemon]) 1577 then
1578 AC_MSG_NOTICE([NOTICE: libgnurl not found. http client support will not be compiled.])
1579 AC_MSG_WARN([ERROR: libgnurl not found. hostlist daemon will not be compiled, and you probably WANT the hostlist daemon])
1580 else
1581 AC_MSG_NOTICE([WARNING: libgnurl not found, trying to use libcurl-gnutls instead.])
1582 fi
1557fi 1583fi
1558 1584
1585
1559# bluetooth 1586# bluetooth
1560if test "x$bluetooth" = "x0" 1587if test "x$bluetooth" = "x0"
1561then 1588then
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b7d6b2a0d..dd6068e1c 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -3,11 +3,19 @@ src/arm/arm_monitor_api.c
3src/arm/gnunet-arm.c 3src/arm/gnunet-arm.c
4src/arm/gnunet-service-arm.c 4src/arm/gnunet-service-arm.c
5src/arm/mockup-service.c 5src/arm/mockup-service.c
6src/ats-tests/ats-testing-experiment.c
7src/ats-tests/ats-testing-log.c
8src/ats-tests/ats-testing-preferences.c
9src/ats-tests/ats-testing-traffic.c
10src/ats-tests/ats-testing.c
11src/ats-tests/gnunet-ats-sim.c
12src/ats-tests/gnunet-solver-eval.c
13src/ats-tool/gnunet-ats.c
6src/ats/ats_api_performance.c 14src/ats/ats_api_performance.c
7src/ats/ats_api_scheduling.c 15src/ats/ats_api_scheduling.c
8src/ats/gnunet-ats-solver-eval.c 16src/ats/gnunet-ats-solver-eval.c
9src/ats/gnunet-service-ats_addresses.c
10src/ats/gnunet-service-ats.c 17src/ats/gnunet-service-ats.c
18src/ats/gnunet-service-ats_addresses.c
11src/ats/gnunet-service-ats_normalization.c 19src/ats/gnunet-service-ats_normalization.c
12src/ats/gnunet-service-ats_performance.c 20src/ats/gnunet-service-ats_performance.c
13src/ats/gnunet-service-ats_reservations.c 21src/ats/gnunet-service-ats_reservations.c
@@ -15,14 +23,6 @@ src/ats/gnunet-service-ats_scheduling.c
15src/ats/plugin_ats_mlp.c 23src/ats/plugin_ats_mlp.c
16src/ats/plugin_ats_proportional.c 24src/ats/plugin_ats_proportional.c
17src/ats/plugin_ats_ril.c 25src/ats/plugin_ats_ril.c
18src/ats-tests/ats-testing.c
19src/ats-tests/ats-testing-experiment.c
20src/ats-tests/ats-testing-log.c
21src/ats-tests/ats-testing-preferences.c
22src/ats-tests/ats-testing-traffic.c
23src/ats-tests/gnunet-ats-sim.c
24src/ats-tests/gnunet-solver-eval.c
25src/ats-tool/gnunet-ats.c
26src/block/block.c 26src/block/block.c
27src/block/plugin_block_template.c 27src/block/plugin_block_template.c
28src/block/plugin_block_test.c 28src/block/plugin_block_test.c
@@ -31,8 +31,8 @@ src/cadet/cadet_common.c
31src/cadet/cadet_path.c 31src/cadet/cadet_path.c
32src/cadet/cadet_test_lib.c 32src/cadet/cadet_test_lib.c
33src/cadet/cadet_tunnel_tree.c 33src/cadet/cadet_tunnel_tree.c
34src/cadet/gnunet-cadet.c
35src/cadet/gnunet-cadet-profiler.c 34src/cadet/gnunet-cadet-profiler.c
35src/cadet/gnunet-cadet.c
36src/cadet/gnunet-service-cadet.c 36src/cadet/gnunet-service-cadet.c
37src/cadet/gnunet-service-cadet_channel.c 37src/cadet/gnunet-service-cadet_channel.c
38src/cadet/gnunet-service-cadet_connection.c 38src/cadet/gnunet-service-cadet_connection.c
@@ -46,12 +46,12 @@ src/consensus/gnunet-consensus-profiler.c
46src/consensus/gnunet-service-consensus.c 46src/consensus/gnunet-service-consensus.c
47src/conversation/conversation_api.c 47src/conversation/conversation_api.c
48src/conversation/conversation_api_call.c 48src/conversation/conversation_api_call.c
49src/conversation/gnunet-conversation.c
50src/conversation/gnunet-conversation-test.c 49src/conversation/gnunet-conversation-test.c
51src/conversation/gnunet-helper-audio-playback.c 50src/conversation/gnunet-conversation.c
52src/conversation/gnunet-helper-audio-playback-gst.c 51src/conversation/gnunet-helper-audio-playback-gst.c
53src/conversation/gnunet-helper-audio-record.c 52src/conversation/gnunet-helper-audio-playback.c
54src/conversation/gnunet-helper-audio-record-gst.c 53src/conversation/gnunet-helper-audio-record-gst.c
54src/conversation/gnunet-helper-audio-record.c
55src/conversation/gnunet-service-conversation.c 55src/conversation/gnunet-service-conversation.c
56src/conversation/microphone.c 56src/conversation/microphone.c
57src/conversation/plugin_gnsrecord_conversation.c 57src/conversation/plugin_gnsrecord_conversation.c
@@ -82,7 +82,6 @@ src/dht/dht_api.c
82src/dht/dht_test_lib.c 82src/dht/dht_test_lib.c
83src/dht/gnunet-dht-get.c 83src/dht/gnunet-dht-get.c
84src/dht/gnunet-dht-monitor.c 84src/dht/gnunet-dht-monitor.c
85src/dht/gnunet_dht_profiler.c
86src/dht/gnunet-dht-put.c 85src/dht/gnunet-dht-put.c
87src/dht/gnunet-service-dht.c 86src/dht/gnunet-service-dht.c
88src/dht/gnunet-service-dht_clients.c 87src/dht/gnunet-service-dht_clients.c
@@ -98,6 +97,8 @@ src/dht/gnunet-service-xdht_hello.c
98src/dht/gnunet-service-xdht_neighbours.c 97src/dht/gnunet-service-xdht_neighbours.c
99src/dht/gnunet-service-xdht_nse.c 98src/dht/gnunet-service-xdht_nse.c
100src/dht/gnunet-service-xdht_routing.c 99src/dht/gnunet-service-xdht_routing.c
100src/dht/gnunet_dht_profiler.c
101src/dht/gnunet_dht_r5n_profiler.c
101src/dht/plugin_block_dht.c 102src/dht/plugin_block_dht.c
102src/dns/dns_api.c 103src/dns/dns_api.c
103src/dns/dnsparser.c 104src/dns/dnsparser.c
@@ -113,8 +114,8 @@ src/dv/gnunet-service-dv.c
113src/dv/plugin_transport_dv.c 114src/dv/plugin_transport_dv.c
114src/env/env.c 115src/env/env.c
115src/exit/gnunet-daemon-exit.c 116src/exit/gnunet-daemon-exit.c
116src/exit/gnunet-helper-exit.c
117src/exit/gnunet-helper-exit-windows.c 117src/exit/gnunet-helper-exit-windows.c
118src/exit/gnunet-helper-exit.c
118src/experimentation/gnunet-daemon-experimentation.c 119src/experimentation/gnunet-daemon-experimentation.c
119src/experimentation/gnunet-daemon-experimentation_capabilities.c 120src/experimentation/gnunet-daemon-experimentation_capabilities.c
120src/experimentation/gnunet-daemon-experimentation_experiments.c 121src/experimentation/gnunet-daemon-experimentation_experiments.c
@@ -145,8 +146,8 @@ src/fs/gnunet-auto-share.c
145src/fs/gnunet-daemon-fsprofiler.c 146src/fs/gnunet-daemon-fsprofiler.c
146src/fs/gnunet-directory.c 147src/fs/gnunet-directory.c
147src/fs/gnunet-download.c 148src/fs/gnunet-download.c
148src/fs/gnunet-fs.c
149src/fs/gnunet-fs-profiler.c 149src/fs/gnunet-fs-profiler.c
150src/fs/gnunet-fs.c
150src/fs/gnunet-helper-fs-publish.c 151src/fs/gnunet-helper-fs-publish.c
151src/fs/gnunet-publish.c 152src/fs/gnunet-publish.c
152src/fs/gnunet-search.c 153src/fs/gnunet-search.c
@@ -165,10 +166,10 @@ src/fs/plugin_block_fs.c
165src/gns/gns_api.c 166src/gns/gns_api.c
166src/gns/gnunet-bcd.c 167src/gns/gnunet-bcd.c
167src/gns/gnunet-dns2gns.c 168src/gns/gnunet-dns2gns.c
168src/gns/gnunet-gns.c
169src/gns/gnunet-gns-helper-service-w32.c 169src/gns/gnunet-gns-helper-service-w32.c
170src/gns/gnunet-gns-import.c 170src/gns/gnunet-gns-import.c
171src/gns/gnunet-gns-proxy.c 171src/gns/gnunet-gns-proxy.c
172src/gns/gnunet-gns.c
172src/gns/gnunet-service-gns.c 173src/gns/gnunet-service-gns.c
173src/gns/gnunet-service-gns_interceptor.c 174src/gns/gnunet-service-gns_interceptor.c
174src/gns/gnunet-service-gns_resolver.c 175src/gns/gnunet-service-gns_resolver.c
@@ -177,15 +178,15 @@ src/gns/nss/nss_gns.c
177src/gns/nss/nss_gns_query.c 178src/gns/nss/nss_gns_query.c
178src/gns/plugin_block_gns.c 179src/gns/plugin_block_gns.c
179src/gns/plugin_gnsrecord_gns.c 180src/gns/plugin_gnsrecord_gns.c
181src/gns/w32nsp-install.c
182src/gns/w32nsp-resolve.c
183src/gns/w32nsp-uninstall.c
184src/gns/w32nsp.c
180src/gnsrecord/gnsrecord.c 185src/gnsrecord/gnsrecord.c
181src/gnsrecord/gnsrecord_crypto.c 186src/gnsrecord/gnsrecord_crypto.c
182src/gnsrecord/gnsrecord_misc.c 187src/gnsrecord/gnsrecord_misc.c
183src/gnsrecord/gnsrecord_serialization.c 188src/gnsrecord/gnsrecord_serialization.c
184src/gnsrecord/plugin_gnsrecord_dns.c 189src/gnsrecord/plugin_gnsrecord_dns.c
185src/gns/w32nsp.c
186src/gns/w32nsp-install.c
187src/gns/w32nsp-resolve.c
188src/gns/w32nsp-uninstall.c
189src/hello/address.c 190src/hello/address.c
190src/hello/gnunet-hello.c 191src/hello/gnunet-hello.c
191src/hello/hello.c 192src/hello/hello.c
@@ -205,31 +206,31 @@ src/namecache/gnunet-service-namecache.c
205src/namecache/namecache_api.c 206src/namecache/namecache_api.c
206src/namecache/plugin_namecache_postgres.c 207src/namecache/plugin_namecache_postgres.c
207src/namecache/plugin_namecache_sqlite.c 208src/namecache/plugin_namecache_sqlite.c
208src/namestore/gnunet-namestore.c
209src/namestore/gnunet-namestore-fcfsd.c 209src/namestore/gnunet-namestore-fcfsd.c
210src/namestore/gnunet-namestore.c
210src/namestore/gnunet-service-namestore.c 211src/namestore/gnunet-service-namestore.c
211src/namestore/namestore_api.c 212src/namestore/namestore_api.c
212src/namestore/namestore_api_monitor.c 213src/namestore/namestore_api_monitor.c
213src/namestore/plugin_namestore_postgres.c 214src/namestore/plugin_namestore_postgres.c
214src/namestore/plugin_namestore_sqlite.c 215src/namestore/plugin_namestore_sqlite.c
215src/nat/gnunet-helper-nat-client.c
216src/nat/gnunet-helper-nat-client-windows.c 216src/nat/gnunet-helper-nat-client-windows.c
217src/nat/gnunet-helper-nat-server.c 217src/nat/gnunet-helper-nat-client.c
218src/nat/gnunet-helper-nat-server-windows.c 218src/nat/gnunet-helper-nat-server-windows.c
219src/nat/gnunet-helper-nat-server.c
219src/nat/gnunet-nat-server.c 220src/nat/gnunet-nat-server.c
220src/nat/nat_auto.c
221src/nat/nat.c 221src/nat/nat.c
222src/nat/nat_auto.c
222src/nat/nat_mini.c 223src/nat/nat_mini.c
223src/nat/nat_test.c 224src/nat/nat_test.c
224src/nse/gnunet-nse.c
225src/nse/gnunet-nse-profiler.c 225src/nse/gnunet-nse-profiler.c
226src/nse/gnunet-nse.c
226src/nse/gnunet-service-nse.c 227src/nse/gnunet-service-nse.c
227src/nse/nse_api.c 228src/nse/nse_api.c
229src/peerinfo-tool/gnunet-peerinfo.c
230src/peerinfo-tool/gnunet-peerinfo_plugins.c
228src/peerinfo/gnunet-service-peerinfo.c 231src/peerinfo/gnunet-service-peerinfo.c
229src/peerinfo/peerinfo_api.c 232src/peerinfo/peerinfo_api.c
230src/peerinfo/peerinfo_api_notify.c 233src/peerinfo/peerinfo_api_notify.c
231src/peerinfo-tool/gnunet-peerinfo.c
232src/peerinfo-tool/gnunet-peerinfo_plugins.c
233src/peerstore/gnunet-peerstore.c 234src/peerstore/gnunet-peerstore.c
234src/peerstore/gnunet-service-peerstore.c 235src/peerstore/gnunet-service-peerstore.c
235src/peerstore/peerstore_api.c 236src/peerstore/peerstore_api.c
@@ -266,17 +267,19 @@ src/secretsharing/gnunet-secretsharing-profiler.c
266src/secretsharing/gnunet-service-secretsharing.c 267src/secretsharing/gnunet-service-secretsharing.c
267src/secretsharing/secretsharing_api.c 268src/secretsharing/secretsharing_api.c
268src/secretsharing/secretsharing_common.c 269src/secretsharing/secretsharing_common.c
269src/sensordashboard/gnunet-sensordashboard.c 270src/sensor/gnunet-sensor-profiler.c
270src/sensordashboard/gnunet-service-sensordashboard.c
271src/sensor/gnunet-sensor.c 271src/sensor/gnunet-sensor.c
272src/sensor/gnunet-service-sensor_analysis.c
273src/sensor/gnunet-service-sensor.c 272src/sensor/gnunet-service-sensor.c
274src/sensor/gnunet-service-sensor_reporting_anomaly.c 273src/sensor/gnunet-service-sensor_analysis.c
275src/sensor/gnunet-service-sensor_reporting_value.c 274src/sensor/gnunet-service-sensor_monitoring.c
275src/sensor/gnunet-service-sensor_reporting.c
276src/sensor/gnunet-service-sensor_update.c 276src/sensor/gnunet-service-sensor_update.c
277src/sensor/plugin_sensor_model_gaussian.c 277src/sensor/plugin_sensor_model_gaussian.c
278src/sensor/sensor_api.c 278src/sensor/sensor_api.c
279src/sensor/sensor_util_lib.c 279src/sensor/sensor_util_lib.c
280src/sensor/sensor_util_lib_crypto.c
281src/sensordashboard/gnunet-sensordashboard.c
282src/sensordashboard/gnunet-service-sensordashboard.c
280src/set/gnunet-service-set.c 283src/set/gnunet-service-set.c
281src/set/gnunet-service-set_intersection.c 284src/set/gnunet-service-set_intersection.c
282src/set/gnunet-service-set_union.c 285src/set/gnunet-service-set_union.c
@@ -297,30 +300,30 @@ src/testbed/gnunet-daemon-latency-logger.c
297src/testbed/gnunet-daemon-testbed-blacklist.c 300src/testbed/gnunet-daemon-testbed-blacklist.c
298src/testbed/gnunet-daemon-testbed-underlay.c 301src/testbed/gnunet-daemon-testbed-underlay.c
299src/testbed/gnunet-helper-testbed.c 302src/testbed/gnunet-helper-testbed.c
300src/testbed/gnunet_mpi_test.c
301src/testbed/gnunet-service-test-barriers.c 303src/testbed/gnunet-service-test-barriers.c
302src/testbed/gnunet-service-testbed_barriers.c 304src/testbed/gnunet-service-testbed-logger.c
303src/testbed/gnunet-service-testbed.c 305src/testbed/gnunet-service-testbed.c
306src/testbed/gnunet-service-testbed_barriers.c
304src/testbed/gnunet-service-testbed_cache.c 307src/testbed/gnunet-service-testbed_cache.c
305src/testbed/gnunet-service-testbed_connectionpool.c 308src/testbed/gnunet-service-testbed_connectionpool.c
306src/testbed/gnunet-service-testbed_cpustatus.c 309src/testbed/gnunet-service-testbed_cpustatus.c
307src/testbed/gnunet-service-testbed_links.c 310src/testbed/gnunet-service-testbed_links.c
308src/testbed/gnunet-service-testbed-logger.c
309src/testbed/gnunet-service-testbed_meminfo.c 311src/testbed/gnunet-service-testbed_meminfo.c
310src/testbed/gnunet-service-testbed_oc.c 312src/testbed/gnunet-service-testbed_oc.c
311src/testbed/gnunet-service-testbed_peers.c 313src/testbed/gnunet-service-testbed_peers.c
312src/testbed/gnunet_testbed_mpi_spawn.c
313src/testbed/gnunet-testbed-profiler.c 314src/testbed/gnunet-testbed-profiler.c
314src/testbed/testbed_api_barriers.c 315src/testbed/gnunet_mpi_test.c
316src/testbed/gnunet_testbed_mpi_spawn.c
315src/testbed/testbed_api.c 317src/testbed/testbed_api.c
318src/testbed/testbed_api_barriers.c
316src/testbed/testbed_api_hosts.c 319src/testbed/testbed_api_hosts.c
317src/testbed/testbed_api_operations.c 320src/testbed/testbed_api_operations.c
318src/testbed/testbed_api_peers.c 321src/testbed/testbed_api_peers.c
319src/testbed/testbed_api_sd.c 322src/testbed/testbed_api_sd.c
320src/testbed/testbed_api_services.c 323src/testbed/testbed_api_services.c
321src/testbed/testbed_api_statistics.c 324src/testbed/testbed_api_statistics.c
322src/testbed/testbed_api_testbed.c
323src/testbed/testbed_api_test.c 325src/testbed/testbed_api_test.c
326src/testbed/testbed_api_testbed.c
324src/testbed/testbed_api_topology.c 327src/testbed/testbed_api_topology.c
325src/testbed/testbed_api_underlay.c 328src/testbed/testbed_api_underlay.c
326src/testbed/testbed_logger_api.c 329src/testbed/testbed_logger_api.c
@@ -330,36 +333,37 @@ src/testing/testing.c
330src/topology/friends.c 333src/topology/friends.c
331src/topology/gnunet-daemon-topology.c 334src/topology/gnunet-daemon-topology.c
332src/transport/gnunet-helper-transport-bluetooth.c 335src/transport/gnunet-helper-transport-bluetooth.c
333src/transport/gnunet-helper-transport-wlan.c
334src/transport/gnunet-helper-transport-wlan-dummy.c 336src/transport/gnunet-helper-transport-wlan-dummy.c
335src/transport/gnunet-service-transport_blacklist.c 337src/transport/gnunet-helper-transport-wlan.c
336src/transport/gnunet-service-transport.c 338src/transport/gnunet-service-transport.c
339src/transport/gnunet-service-transport_blacklist.c
337src/transport/gnunet-service-transport_clients.c 340src/transport/gnunet-service-transport_clients.c
338src/transport/gnunet-service-transport_hello.c 341src/transport/gnunet-service-transport_hello.c
339src/transport/gnunet-service-transport_manipulation.c 342src/transport/gnunet-service-transport_manipulation.c
340src/transport/gnunet-service-transport_neighbours.c 343src/transport/gnunet-service-transport_neighbours.c
341src/transport/gnunet-service-transport_plugins.c 344src/transport/gnunet-service-transport_plugins.c
342src/transport/gnunet-service-transport_validation.c 345src/transport/gnunet-service-transport_validation.c
343src/transport/gnunet-transport.c
344src/transport/gnunet-transport-certificate-creation.c 346src/transport/gnunet-transport-certificate-creation.c
347src/transport/gnunet-transport-profiler.c
345src/transport/gnunet-transport-wlan-receiver.c 348src/transport/gnunet-transport-wlan-receiver.c
346src/transport/gnunet-transport-wlan-sender.c 349src/transport/gnunet-transport-wlan-sender.c
350src/transport/gnunet-transport.c
347src/transport/plugin_transport_http_client.c 351src/transport/plugin_transport_http_client.c
348src/transport/plugin_transport_http_common.c 352src/transport/plugin_transport_http_common.c
349src/transport/plugin_transport_http_server.c 353src/transport/plugin_transport_http_server.c
350src/transport/plugin_transport_smtp.c 354src/transport/plugin_transport_smtp.c
351src/transport/plugin_transport_tcp.c 355src/transport/plugin_transport_tcp.c
352src/transport/plugin_transport_template.c 356src/transport/plugin_transport_template.c
353src/transport/plugin_transport_udp_broadcasting.c
354src/transport/plugin_transport_udp.c 357src/transport/plugin_transport_udp.c
358src/transport/plugin_transport_udp_broadcasting.c
355src/transport/plugin_transport_unix.c 359src/transport/plugin_transport_unix.c
356src/transport/plugin_transport_wlan.c 360src/transport/plugin_transport_wlan.c
361src/transport/transport-testing.c
362src/transport/transport_api.c
357src/transport/transport_api_address_to_string.c 363src/transport/transport_api_address_to_string.c
358src/transport/transport_api_blacklist.c 364src/transport/transport_api_blacklist.c
359src/transport/transport_api.c
360src/transport/transport_api_monitor_peers.c 365src/transport/transport_api_monitor_peers.c
361src/transport/transport_api_monitor_validation.c 366src/transport/transport_api_monitor_validation.c
362src/transport/transport-testing.c
363src/tun/regex.c 367src/tun/regex.c
364src/tun/tun.c 368src/tun/tun.c
365src/util/bandwidth.c 369src/util/bandwidth.c
@@ -374,8 +378,8 @@ src/util/connection.c
374src/util/container_bloomfilter.c 378src/util/container_bloomfilter.c
375src/util/container_heap.c 379src/util/container_heap.c
376src/util/container_meta_data.c 380src/util/container_meta_data.c
377src/util/container_multihashmap32.c
378src/util/container_multihashmap.c 381src/util/container_multihashmap.c
382src/util/container_multihashmap32.c
379src/util/container_multipeermap.c 383src/util/container_multipeermap.c
380src/util/container_slist.c 384src/util/container_slist.c
381src/util/crypto_crc.c 385src/util/crypto_crc.c
@@ -390,8 +394,8 @@ src/util/crypto_symmetric.c
390src/util/disk.c 394src/util/disk.c
391src/util/getopt.c 395src/util/getopt.c
392src/util/getopt_helpers.c 396src/util/getopt_helpers.c
393src/util/gnunet-config.c
394src/util/gnunet-config-diff.c 397src/util/gnunet-config-diff.c
398src/util/gnunet-config.c
395src/util/gnunet-ecc.c 399src/util/gnunet-ecc.c
396src/util/gnunet-helper-w32-console.c 400src/util/gnunet-helper-w32-console.c
397src/util/gnunet-resolver.c 401src/util/gnunet-resolver.c
@@ -422,8 +426,8 @@ src/util/time.c
422src/util/w32cat.c 426src/util/w32cat.c
423src/util/win.c 427src/util/win.c
424src/util/winproc.c 428src/util/winproc.c
425src/vpn/gnunet-helper-vpn.c
426src/vpn/gnunet-helper-vpn-windows.c 429src/vpn/gnunet-helper-vpn-windows.c
430src/vpn/gnunet-helper-vpn.c
427src/vpn/gnunet-service-vpn.c 431src/vpn/gnunet-service-vpn.c
428src/vpn/gnunet-vpn.c 432src/vpn/gnunet-vpn.c
429src/vpn/vpn_api.c 433src/vpn/vpn_api.c
diff --git a/src/gns/Makefile.am b/src/gns/Makefile.am
index f8d266748..61e52ee98 100644
--- a/src/gns/Makefile.am
+++ b/src/gns/Makefile.am
@@ -55,6 +55,14 @@ if HAVE_MHD
55if HAVE_GNUTLS 55if HAVE_GNUTLS
56if HAVE_LIBGNURL 56if HAVE_LIBGNURL
57 DO_PROXY=gnunet-gns-proxy 57 DO_PROXY=gnunet-gns-proxy
58LIB_GNURL=@LIBGNURL@
59CPP_GNURL=@LIBGNURL_CPPFLAGS@
60else
61if HAVE_LIBCURL
62 DO_PROXY=gnunet-gns-proxy
63LIB_GNURL=@LIBCURL@
64CPP_GNURL=@LIBCURL_CPPFLAGS@
65endif
58endif 66endif
59endif 67endif
60endif 68endif
@@ -141,8 +149,8 @@ gnunet_dns2gns_DEPENDENCIES = \
141 149
142gnunet_gns_proxy_SOURCES = \ 150gnunet_gns_proxy_SOURCES = \
143 gnunet-gns-proxy.c 151 gnunet-gns-proxy.c
144gnunet_gns_proxy_CPPFLAGS = $(AM_CPPFLAGS) $(LIBGNURL_CPPFLAGS) 152gnunet_gns_proxy_CPPFLAGS = $(AM_CPPFLAGS) $(CPP_GNURL)
145gnunet_gns_proxy_LDADD = -lmicrohttpd $(LIBGNURL) -lgnutls \ 153gnunet_gns_proxy_LDADD = -lmicrohttpd $(LIB_GNURL) -lgnutls \
146 $(top_builddir)/src/gns/libgnunetgns.la \ 154 $(top_builddir)/src/gns/libgnunetgns.la \
147 $(top_builddir)/src/identity/libgnunetidentity.la \ 155 $(top_builddir)/src/identity/libgnunetidentity.la \
148 $(top_builddir)/src/util/libgnunetutil.la \ 156 $(top_builddir)/src/util/libgnunetutil.la \
diff --git a/src/hostlist/Makefile.am b/src/hostlist/Makefile.am
index d777cd658..5d5a94b5d 100644
--- a/src/hostlist/Makefile.am
+++ b/src/hostlist/Makefile.am
@@ -20,6 +20,15 @@ endif
20if HAVE_LIBGNURL 20if HAVE_LIBGNURL
21libexec_PROGRAMS = \ 21libexec_PROGRAMS = \
22 gnunet-daemon-hostlist 22 gnunet-daemon-hostlist
23LIB_GNURL=@LIBGNURL@
24CPP_GNURL=@LIBGNURL_CPPFLAGS@
25else
26if HAVE_LIBCURL
27libexec_PROGRAMS = \
28 gnunet-daemon-hostlist
29LIB_GNURL=@LIBCURL@
30CPP_GNURL=@LIBCURL_CPPFLAGS@
31endif
23endif 32endif
24 33
25gnunet_daemon_hostlist_SOURCES = \ 34gnunet_daemon_hostlist_SOURCES = \
@@ -35,11 +44,12 @@ gnunet_daemon_hostlist_LDADD = \
35 $(top_builddir)/src/transport/libgnunettransport.la \ 44 $(top_builddir)/src/transport/libgnunettransport.la \
36 $(top_builddir)/src/util/libgnunetutil.la \ 45 $(top_builddir)/src/util/libgnunetutil.la \
37 $(GN_LIBMHD) \ 46 $(GN_LIBMHD) \
38 @LIBGNURL@ \ 47 $(LIB_GNURL) \
39 $(GN_LIBINTL) 48 $(GN_LIBINTL)
40 49
41gnunet_daemon_hostlist_CPPFLAGS = \ 50gnunet_daemon_hostlist_CPPFLAGS = \
42 @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS) 51 $(CPP_GNURL) \
52 $(AM_CPPFLAGS)
43 53
44if HAVE_LIBGNURL 54if HAVE_LIBGNURL
45check_PROGRAMS = \ 55check_PROGRAMS = \
diff --git a/src/pt/Makefile.am b/src/pt/Makefile.am
index 650fabf09..9783ffc07 100644
--- a/src/pt/Makefile.am
+++ b/src/pt/Makefile.am
@@ -34,7 +34,29 @@ gnunet_daemon_pt_LDADD = \
34 34
35if HAVE_TESTING 35if HAVE_TESTING
36if HAVE_MHD 36if HAVE_MHD
37
37if HAVE_LIBGNURL 38if HAVE_LIBGNURL
39LIB_GNURL=@LIBGNURL@
40CPP_GNURL=@LIBGNURL_CPPFLAGS@
41if LINUX
42 VPN_TEST = \
43 test_gnunet_vpn-4_to_6 \
44 test_gnunet_vpn-6_to_4 \
45 test_gnunet_vpn-6_over \
46 test_gnunet_vpn-4_over \
47 test_gns_vpn
48endif
49if MINGW
50 VPN_TEST = \
51 test_gnunet_vpn-4_to_6 \
52 test_gnunet_vpn-6_to_4 \
53 test_gnunet_vpn-6_over \
54 test_gnunet_vpn-4_over
55endif
56else
57if HAVE_LIBCURL
58LIB_GNURL=@LIBCURL@
59CPP_GNURL=@LIBCURL_CPPFLAGS@
38if LINUX 60if LINUX
39 VPN_TEST = \ 61 VPN_TEST = \
40 test_gnunet_vpn-4_to_6 \ 62 test_gnunet_vpn-4_to_6 \
@@ -52,6 +74,8 @@ if MINGW
52endif 74endif
53endif 75endif
54endif 76endif
77
78endif
55endif 79endif
56 80
57check_PROGRAMS = $(VPN_TEST) 81check_PROGRAMS = $(VPN_TEST)
@@ -69,48 +93,48 @@ EXTRA_DIST = \
69 93
70test_gns_vpn_SOURCES = \ 94test_gns_vpn_SOURCES = \
71 test_gns_vpn.c 95 test_gns_vpn.c
72test_gns_vpn_LDADD = -lmicrohttpd @LIBGNURL@ \ 96test_gns_vpn_LDADD = -lmicrohttpd $(LIB_GNURL) \
73 $(top_builddir)/src/namestore/libgnunetnamestore.la \ 97 $(top_builddir)/src/namestore/libgnunetnamestore.la \
74 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ 98 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
75 $(top_builddir)/src/testing/libgnunettesting.la \ 99 $(top_builddir)/src/testing/libgnunettesting.la \
76 $(top_builddir)/src/util/libgnunetutil.la 100 $(top_builddir)/src/util/libgnunetutil.la
77test_gns_vpn_CPPFLAGS = \ 101test_gns_vpn_CPPFLAGS = \
78 @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS) 102 $(CPP_GNURL) $(AM_CPPFLAGS)
79 103
80test_gnunet_vpn_4_over_SOURCES = \ 104test_gnunet_vpn_4_over_SOURCES = \
81 test_gnunet_vpn.c 105 test_gnunet_vpn.c
82test_gnunet_vpn_4_over_LDADD = -lmicrohttpd @LIBGNURL@ \ 106test_gnunet_vpn_4_over_LDADD = -lmicrohttpd $(LIB_GNURL) \
83 $(top_builddir)/src/vpn/libgnunetvpn.la \ 107 $(top_builddir)/src/vpn/libgnunetvpn.la \
84 $(top_builddir)/src/testing/libgnunettesting.la \ 108 $(top_builddir)/src/testing/libgnunettesting.la \
85 $(top_builddir)/src/util/libgnunetutil.la 109 $(top_builddir)/src/util/libgnunetutil.la
86test_gnunet_vpn_4_over_CPPFLAGS = \ 110test_gnunet_vpn_4_over_CPPFLAGS = \
87 @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS) 111 $(LIB_GNURL) $(AM_CPPFLAGS)
88 112
89test_gnunet_vpn_6_over_SOURCES = \ 113test_gnunet_vpn_6_over_SOURCES = \
90 test_gnunet_vpn.c 114 test_gnunet_vpn.c
91test_gnunet_vpn_6_over_LDADD = -lmicrohttpd @LIBGNURL@ \ 115test_gnunet_vpn_6_over_LDADD = -lmicrohttpd $(LIB_GNURL) \
92 $(top_builddir)/src/vpn/libgnunetvpn.la \ 116 $(top_builddir)/src/vpn/libgnunetvpn.la \
93 $(top_builddir)/src/testing/libgnunettesting.la \ 117 $(top_builddir)/src/testing/libgnunettesting.la \
94 $(top_builddir)/src/util/libgnunetutil.la 118 $(top_builddir)/src/util/libgnunetutil.la
95test_gnunet_vpn_6_over_CPPFLAGS = \ 119test_gnunet_vpn_6_over_CPPFLAGS = \
96 @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS) 120 $(CPP_GNURL) $(AM_CPPFLAGS)
97 121
98test_gnunet_vpn_4_to_6_SOURCES = \ 122test_gnunet_vpn_4_to_6_SOURCES = \
99 test_gnunet_vpn.c 123 test_gnunet_vpn.c
100test_gnunet_vpn_4_to_6_LDADD = -lmicrohttpd @LIBGNURL@ \ 124test_gnunet_vpn_4_to_6_LDADD = -lmicrohttpd $(LIB_GNURL) \
101 $(top_builddir)/src/vpn/libgnunetvpn.la \ 125 $(top_builddir)/src/vpn/libgnunetvpn.la \
102 $(top_builddir)/src/testing/libgnunettesting.la \ 126 $(top_builddir)/src/testing/libgnunettesting.la \
103 $(top_builddir)/src/util/libgnunetutil.la 127 $(top_builddir)/src/util/libgnunetutil.la
104test_gnunet_vpn_4_to_6_CPPFLAGS = \ 128test_gnunet_vpn_4_to_6_CPPFLAGS = \
105 @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS) 129 $(CPP_GNURL) $(AM_CPPFLAGS)
106 130
107test_gnunet_vpn_6_to_4_SOURCES = \ 131test_gnunet_vpn_6_to_4_SOURCES = \
108 test_gnunet_vpn.c 132 test_gnunet_vpn.c
109test_gnunet_vpn_6_to_4_LDADD = -lmicrohttpd @LIBGNURL@ \ 133test_gnunet_vpn_6_to_4_LDADD = -lmicrohttpd $(LIB_GNURL) \
110 $(top_builddir)/src/vpn/libgnunetvpn.la \ 134 $(top_builddir)/src/vpn/libgnunetvpn.la \
111 $(top_builddir)/src/testing/libgnunettesting.la \ 135 $(top_builddir)/src/testing/libgnunettesting.la \
112 $(top_builddir)/src/util/libgnunetutil.la 136 $(top_builddir)/src/util/libgnunetutil.la
113test_gnunet_vpn_6_to_4_CPPFLAGS = \ 137test_gnunet_vpn_6_to_4_CPPFLAGS = \
114 @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS) 138 $(CPP_GNURL) $(AM_CPPFLAGS)
115 139
116 140
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index d4a1001c9..dd7bedbae 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -23,6 +23,17 @@ if HAVE_LIBGNURL
23 HTTPS_CLIENT_PLUGIN_TEST = test_plugin_https_client 23 HTTPS_CLIENT_PLUGIN_TEST = test_plugin_https_client
24 HTTP_CLIENT_PLUGIN_LA = libgnunet_plugin_transport_http_client.la 24 HTTP_CLIENT_PLUGIN_LA = libgnunet_plugin_transport_http_client.la
25 HTTPS_CLIENT_PLUGIN_LA = libgnunet_plugin_transport_https_client.la 25 HTTPS_CLIENT_PLUGIN_LA = libgnunet_plugin_transport_https_client.la
26LIB_GNURL=@LIBGNURL@
27CPP_GNURL=@LIBGNURL_CPPFLAGS@
28else
29if HAVE_LIBCURL
30 HTTP_CLIENT_PLUGIN_TEST = test_plugin_http_client
31 HTTPS_CLIENT_PLUGIN_TEST = test_plugin_https_client
32 HTTP_CLIENT_PLUGIN_LA = libgnunet_plugin_transport_http_client.la
33 HTTPS_CLIENT_PLUGIN_LA = libgnunet_plugin_transport_https_client.la
34LIB_GNURL=@LIBCURL@
35CPP_GNURL=@LIBCURL_CPPFLAGS@
36endif
26endif 37endif
27 38
28if HAVE_MHD 39if HAVE_MHD
@@ -42,6 +53,24 @@ if HAVE_LIBGNURL
42 HTTPS_QUOTA_TEST = test_quota_compliance_https \ 53 HTTPS_QUOTA_TEST = test_quota_compliance_https \
43 test_quota_compliance_https_asymmetric 54 test_quota_compliance_https_asymmetric
44 HTTPS_SWITCH = test_transport_address_switch_https 55 HTTPS_SWITCH = test_transport_address_switch_https
56else
57if HAVE_LIBCURL
58 HTTP_API_TEST = test_transport_api_http
59 HTTP_REVERSE_API_TEST = test_transport_api_http_reverse
60 HTTP_API_TIMEOUT_TEST = test_transport_api_timeout_http
61 HTTP_REL_TEST = test_transport_api_reliability_http \
62 test_transport_api_reliability_http_xhr
63 HTTP_QUOTA_TEST = test_quota_compliance_http \
64 test_quota_compliance_http_asymmetric
65 HTTP_SWITCH = test_transport_address_switch_http
66 HTTPS_API_TEST = test_transport_api_https
67 HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https
68 HTTPS_REL_TEST = test_transport_api_reliability_https \
69 test_transport_api_reliability_https_xhr
70 HTTPS_QUOTA_TEST = test_quota_compliance_https \
71 test_quota_compliance_https_asymmetric
72 HTTPS_SWITCH = test_transport_address_switch_https
73endif
45endif 74endif
46endif 75endif
47 76
@@ -334,7 +363,7 @@ libgnunet_plugin_transport_http_client_la_LIBADD = \
334 $(top_builddir)/src/hello/libgnunethello.la \ 363 $(top_builddir)/src/hello/libgnunethello.la \
335 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 364 $(top_builddir)/src/statistics/libgnunetstatistics.la \
336 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \ 365 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
337 @LIBGNURL@ \ 366 $(LIB_GNURL) \
338 $(top_builddir)/src/nat/libgnunetnat.la \ 367 $(top_builddir)/src/nat/libgnunetnat.la \
339 $(top_builddir)/src/util/libgnunetutil.la 368 $(top_builddir)/src/util/libgnunetutil.la
340libgnunet_plugin_transport_http_client_la_LDFLAGS = \ 369libgnunet_plugin_transport_http_client_la_LDFLAGS = \
@@ -342,7 +371,7 @@ libgnunet_plugin_transport_http_client_la_LDFLAGS = \
342libgnunet_plugin_transport_http_client_la_CFLAGS = \ 371libgnunet_plugin_transport_http_client_la_CFLAGS = \
343 $(CFLAGS) 372 $(CFLAGS)
344libgnunet_plugin_transport_http_client_la_CPPFLAGS = \ 373libgnunet_plugin_transport_http_client_la_CPPFLAGS = \
345 @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS) 374 $(CPP_GNURL) $(AM_CPPFLAGS)
346 375
347 376
348libgnunet_plugin_transport_http_server_la_SOURCES = \ 377libgnunet_plugin_transport_http_server_la_SOURCES = \
@@ -365,7 +394,7 @@ libgnunet_plugin_transport_https_client_la_LIBADD = \
365 $(top_builddir)/src/hello/libgnunethello.la \ 394 $(top_builddir)/src/hello/libgnunethello.la \
366 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 395 $(top_builddir)/src/statistics/libgnunetstatistics.la \
367 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \ 396 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
368 @LIBGNURL@ \ 397 $(LIB_GNURL) \
369 $(top_builddir)/src/nat/libgnunetnat.la \ 398 $(top_builddir)/src/nat/libgnunetnat.la \
370 $(top_builddir)/src/util/libgnunetutil.la 399 $(top_builddir)/src/util/libgnunetutil.la
371libgnunet_plugin_transport_https_client_la_LDFLAGS = \ 400libgnunet_plugin_transport_https_client_la_LDFLAGS = \
@@ -373,7 +402,7 @@ libgnunet_plugin_transport_https_client_la_LDFLAGS = \
373libgnunet_plugin_transport_https_client_la_CFLAGS = \ 402libgnunet_plugin_transport_https_client_la_CFLAGS = \
374 $(CFLAGS) -DBUILD_HTTPS 403 $(CFLAGS) -DBUILD_HTTPS
375libgnunet_plugin_transport_https_client_la_CPPFLAGS = \ 404libgnunet_plugin_transport_https_client_la_CPPFLAGS = \
376 @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS) 405 $(CPP_GNURL) $(AM_CPPFLAGS)
377 406
378 407
379libgnunet_plugin_transport_https_server_la_SOURCES = \ 408libgnunet_plugin_transport_https_server_la_SOURCES = \