]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Correct --with-idn references to --with-libidn2
authorMatthijs Mekking <matthijs@isc.org>
Thu, 7 Oct 2021 09:55:29 +0000 (11:55 +0200)
committerOndřej Surý <ondrej@sury.org>
Tue, 12 Oct 2021 10:13:33 +0000 (12:13 +0200)
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'.

bin/tests/system/feature-test.c
bin/tests/system/idna/tests.sh
doc/arm/general.rst
doc/misc/rfc-compliance

index c2032f8ce65ab433f6c0d126a43a549b55ebc76d..72c09ae04b3697dd1c201e61383d853b3308bd89 100644 (file)
@@ -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 */
index 5cb1c41a677426711fa03c0efafd0f3a80fb4f03..e16809f81bb461786d4229525831e38d545e3c63 100644 (file)
@@ -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
index 225576be7ae7959ff1538cca21b6d0a3a0722caf..ef22207e49a8314436d18cc4e2b989ad97982101 100644 (file)
@@ -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.
 
index c1694c9b164ceb4d7dd33d6d865b0441304f3003..461a73b751973ee137fbc517a6dbae351030dd76 100644 (file)
@@ -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.