summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-10-20 10:29:53 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-10-20 10:31:30 +0200
commitedece7a8fbcecc0f052ea904c66e8d72473bd891 (patch)
tree52b1ca6c379c5e7d71de1759eeb72be5b3803f63
parent6b0067040eb5112d690cf9adbd25b8a121df4994 (diff)
downloadcurl-bagder/cmake-idn-unixsockets.tar.gz
CMake: store IDN2 information in curl_config.hbagder/cmake-idn-unixsockets
This allows the build to enable IDN properly and it makes test 1014 happier. Ref: #6074
-rw-r--r--lib/curl_config.h.cmake7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index eca3734b0..fc15b8a51 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -395,8 +395,11 @@
/* Define to 1 if you have the <libgen.h> header file. */
#cmakedefine HAVE_LIBGEN_H 1
-/* Define to 1 if you have the `idn' library (-lidn). */
-#cmakedefine HAVE_LIBIDN 1
+/* Define to 1 if you have the `idn2' library (-lidn2). */
+#cmakedefine HAVE_LIBIDN2 1
+
+/* Define to 1 if you have the idn2.h header file. */
+#cmakedefine HAVE_IDN2_H 1
/* Define to 1 if you have the `resolv' library (-lresolv). */
#cmakedefine HAVE_LIBRESOLV 1