Add optional support for libidn2 and therefore IDNA2008.

This commit is contained in:
Petr Menšík
2017-05-10 21:41:57 +01:00
committed by Simon Kelley
parent 05f76dab89
commit d203af4a02
3 changed files with 27 additions and 8 deletions

View File

@@ -94,11 +94,14 @@ HAVE_DBUS
servers via DBus.
HAVE_IDN
define this if you want international domain name support.
define this if you want international domain name 2003 support.
NOTE: for backwards compatibility, IDN support is automatically
included when internationalisation support is built, using the
*-i18n makefile targets, even if HAVE_IDN is not explicitly set.
HAVE_LIBIDN2
define this if you want international domain name 2008 support.
HAVE_CONNTRACK
define this to include code which propagates conntrack marks from
incoming DNS queries to the corresponding upstream queries. This adds
@@ -177,6 +180,7 @@ RESOLVFILE
/* #define HAVE_LUASCRIPT */
/* #define HAVE_DBUS */
/* #define HAVE_IDN */
/* #define HAVE_LIBIDN2 */
/* #define HAVE_CONNTRACK */
/* #define HAVE_DNSSEC */
@@ -400,6 +404,10 @@ static char *compile_opts =
"no-"
#endif
"IDN "
#if !defined(HAVE_LIBIDN2)
"no-"
#endif
"IDN2 "
#ifndef HAVE_DHCP
"no-"
#endif