From: Daniel Stenberg Date: Tue, 20 Oct 2020 08:29:53 +0000 (+0200) Subject: CMake: store IDN2 information in curl_config.h X-Git-Tag: curl-7_74_0~141 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6dc563cdaaaadc2dbab0f3b8f15840a94a26b317;p=thirdparty%2Fcurl.git 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 --- diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake index eca3734b0c..fc15b8a51e 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