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
This commit is contained in:
Daniel Stenberg 2020-10-20 10:29:53 +02:00
parent 57501c86d2
commit 6dc563cdaa
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 5 additions and 2 deletions

View File

@ -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