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 14:51:33 +0200
commit6dc563cdaaaadc2dbab0f3b8f15840a94a26b317 (patch)
tree52b1ca6c379c5e7d71de1759eeb72be5b3803f63
parent57501c86d29d6e6feaa4b647b43888250612996c (diff)
downloadcurl-6dc563cdaaaadc2dbab0f3b8f15840a94a26b317.tar.gz
CMake: store IDN2 information in curl_config.h
This allows the build to enable IDN properly and it makes test 1014 happier. Ref: #6074 Closes #6108
-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