From 6dc563cdaaaadc2dbab0f3b8f15840a94a26b317 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 20 Oct 2020 10:29:53 +0200 Subject: 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 --- lib/curl_config.h.cmake | 7 +++++-- 1 file 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 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 -- cgit v1.2.1