You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.4 KiB

  1. --- a/m4/libgnurl.m4
  2. +++ b/m4/libgnurl.m4
  3. @@ -146,7 +146,7 @@ AC_DEFUN([LIBGNURL_CHECK_CONFIG],
  4. _libgnurl_save_libs=$LIBS
  5. LIBS="$LIBGNURL $LIBS"
  6. - AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <curl/curl.h>],[
  7. + AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <gnurl/curl.h>],[
  8. /* Try and use a few common options to force a failure if we are
  9. missing symbols or can't link. */
  10. int x;
  11. --- a/src/gns/gnunet-gns-proxy.c
  12. +++ b/src/gns/gnunet-gns-proxy.c
  13. @@ -29,7 +29,7 @@
  14. */
  15. #include "platform.h"
  16. #include <microhttpd.h>
  17. -#include <curl/curl.h>
  18. +#include <gnurl/curl.h>
  19. #include <gnutls/gnutls.h>
  20. #include <gnutls/x509.h>
  21. #include <gnutls/abstract.h>
  22. --- a/src/gns/test_gns_proxy.c
  23. +++ b/src/gns/test_gns_proxy.c
  24. @@ -24,7 +24,7 @@
  25. * @author Martin Schanzenbach
  26. */
  27. #include "platform.h"
  28. -#include <curl/curl.h>
  29. +#include <gnurl/curl.h>
  30. #include <microhttpd.h>
  31. #include "gnunet_namestore_service.h"
  32. #include "gnunet_gns_service.h"
  33. --- a/src/hostlist/gnunet-daemon-hostlist_client.c
  34. +++ b/src/hostlist/gnunet-daemon-hostlist_client.c
  35. @@ -29,7 +29,7 @@
  36. #include "gnunet_statistics_service.h"
  37. #include "gnunet_transport_service.h"
  38. #include "gnunet-daemon-hostlist.h"
  39. -#include <curl/curl.h>
  40. +#include <gnurl/curl.h>
  41. /**
  42. --- a/src/pt/test_gns_vpn.c
  43. +++ b/src/pt/test_gns_vpn.c
  44. @@ -24,7 +24,7 @@
  45. * @author Martin Schanzenbach
  46. */
  47. #include "platform.h"
  48. -#include <curl/curl.h>
  49. +#include <gnurl/curl.h>
  50. #include <microhttpd.h>
  51. #include "gnunet_identity_service.h"
  52. #include "gnunet_namestore_service.h"
  53. --- a/src/pt/test_gnunet_vpn.c
  54. +++ b/src/pt/test_gnunet_vpn.c
  55. @@ -24,7 +24,7 @@
  56. * @author Christian Grothoff
  57. */
  58. #include "platform.h"
  59. -#include <curl/curl.h>
  60. +#include <gnurl/curl.h>
  61. #include <microhttpd.h>
  62. #include "gnunet_vpn_service.h"
  63. #include "gnunet_testing_lib.h"
  64. --- a/src/transport/plugin_transport_http.h
  65. +++ b/src/transport/plugin_transport_http.h
  66. @@ -41,7 +41,7 @@
  67. #include "gnunet_os_lib.h"
  68. #include "gnunet_nat_lib.h"
  69. #include "microhttpd.h"
  70. -#include <curl/curl.h>
  71. +#include <gnurl/curl.h>
  72. #define DEBUG_HTTP GNUNET_EXTRA_LOGGING
  73. --- a/src/transport/plugin_transport_http_client.c
  74. +++ b/src/transport/plugin_transport_http_client.c
  75. @@ -49,7 +49,7 @@
  76. #include "gnunet_protocols.h"
  77. #include "gnunet_transport_plugin.h"
  78. #include "plugin_transport_http_common.h"
  79. -#include <curl/curl.h>
  80. +#include <gnurl/curl.h>
  81. #define LOG(kind,...) GNUNET_log_from(kind, PLUGIN_NAME, __VA_ARGS__)