curl: fix gnutls include
authorMichael Wallner <mike@php.net>
Tue, 4 Apr 2017 09:53:08 +0000 (11:53 +0200)
committerMichael Wallner <mike@php.net>
Tue, 4 Apr 2017 10:17:37 +0000 (12:17 +0200)
autoconf/pecl/libcurl.m4
src/php_http_client_curl.c
travis/pecl

index 73ea2595bba4a636198eadd46ebf981951ccfb9f..fce643748743911517316e35f8d6e790c33864c0 100644 (file)
@@ -88,7 +88,7 @@ AC_DEFUN([PECL_HAVE_LIBCURL_SSL], [dnl
        AC_REQUIRE([PECL_HAVE_LIBCURL_CA])dnl
        PECL_HAVE_LIBCURL_FEATURE([SSL], [
                PECL_HAVE_LIBCURL_SSLLIB([OpenSSL], [openssl/ssl.h openssl/crypto.h], [ssl crypto])
-               PECL_HAVE_LIBCURL_SSLLIB([GnuTLS], [gnutls.h gcrypt.h], [gnutls gcrypt])
+               PECL_HAVE_LIBCURL_SSLLIB([GnuTLS], [gnutls/gnutls.h gcrypt.h], [gnutls gcrypt])
                PECL_HAVE_LIBCURL_SSLLIB([NSS])
                PECL_HAVE_LIBCURL_SSLLIB([SecureTransport])
                PECL_HAVE_LIBCURL_SSLLIB([GSKit])
index e5132113015c8f5b30ff76873d65d27a678d1868..f286324d808cdb5e535a31668d2f4ed44c711e72 100644 (file)
@@ -21,7 +21,7 @@
 #      include <openssl/ssl.h>
 #endif
 #if PHP_HTTP_HAVE_LIBCURL_GNUTLS
-#      include <gnutls.h>
+#      include <gnutls/gnutls.h>
 #endif
 
 typedef struct php_http_client_curl_handler {
index 90af692cb807f63c4d4e943ff4699dc9637728fb..79de9c8e52f16a2e06324683cf4c00c91df1b6c1 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 90af692cb807f63c4d4e943ff4699dc9637728fb
+Subproject commit 79de9c8e52f16a2e06324683cf4c00c91df1b6c1