]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CMake: store IDN2 information in curl_config.h
authorDaniel Stenberg <daniel@haxx.se>
Tue, 20 Oct 2020 08:29:53 +0000 (10:29 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 20 Oct 2020 12:51:33 +0000 (14:51 +0200)
This allows the build to enable IDN properly and it makes test 1014
happier.

Ref: #6074
Closes #6108

lib/curl_config.h.cmake

index eca3734b0c5e3d75504494237da3cebc4c9f43b8..fc15b8a51e240541a74b8b89a6d6440667b36637 100644 (file)
 /* 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