Correct --with-idn references to --with-libidn2
The documentation and feature-test were using '--with-idn' but the configure script doesn't recognize this option. The correct option to enable IDN support is '--with-libidn2'.
This commit is contained in:
committed by
Ondřej Surý
parent
08008c4409
commit
f275d42a02
@@ -42,7 +42,7 @@ usage(void) {
|
||||
fprintf(stderr, "\t--ipv6only=no\n");
|
||||
fprintf(stderr, "\t--tsan\n");
|
||||
fprintf(stderr, "\t--with-dlz-filesystem\n");
|
||||
fprintf(stderr, "\t--with-idn\n");
|
||||
fprintf(stderr, "\t--with-libidn2\n");
|
||||
fprintf(stderr, "\t--with-lmdb\n");
|
||||
fprintf(stderr, "\t--with-libnghttp2\n");
|
||||
}
|
||||
@@ -156,7 +156,7 @@ main(int argc, char **argv) {
|
||||
#endif /* ifdef DLZ_FILESYSTEM */
|
||||
}
|
||||
|
||||
if (strcmp(argv[1], "--with-idn") == 0) {
|
||||
if (strcmp(argv[1], "--with-libidn2") == 0) {
|
||||
#ifdef HAVE_LIBIDN2
|
||||
return (0);
|
||||
#else /* ifdef HAVE_LIBIDN2 */
|
||||
|
||||
@@ -383,7 +383,7 @@ idna_disabled_test() {
|
||||
|
||||
# Main test begins here
|
||||
|
||||
$FEATURETEST --with-idn
|
||||
$FEATURETEST --with-libidn2
|
||||
if [ $? -eq 0 ]; then
|
||||
idna_enabled_test
|
||||
else
|
||||
|
||||
@@ -585,9 +585,9 @@ is accepted but not returned in responses.
|
||||
and NXTs in responses, rather than relying on the resolving server
|
||||
to perform separate queries for missing SIGs and NXTs.
|
||||
|
||||
[19] BIND 9 requires ``--with-idn`` to enable entry of IDN labels within dig,
|
||||
host, and nslookup at compile time. ACE labels are supported
|
||||
everywhere with or without ``--with-idn``.
|
||||
[19] BIND 9 requires ``--with-libidn2`` to enable entry of IDN labels within
|
||||
dig, host, and nslookup at compile time. ACE labels are supported
|
||||
everywhere with or without ``--with-libidn2``.
|
||||
|
||||
[20] Section 5.1 - DNAME records are fully supported.
|
||||
|
||||
|
||||
@@ -143,9 +143,9 @@ retrieve unknown keys.
|
||||
|
||||
[6] Section 4 is ignored.
|
||||
|
||||
[7] Requires --with-idn to enable entry of IDN labels within dig,
|
||||
[7] Requires --with-libidn2 to enable entry of IDN labels within dig,
|
||||
host and nslookup at compile time. ACE labels are supported
|
||||
everywhere with or without --with-idn.
|
||||
everywhere with or without --with-libidn2.
|
||||
|
||||
[8] Section 5.1 - DNAME records are fully supported.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user