Upstream uses a custom configure implementation based on auto/options rather
than GNU autotools. Gentoo's econf passes standard GNU configure options
automatically; accept and ignore the irrelevant ones so the package can still
be configured through econf.
--- ../auto/options	2026-06-11 17:16:05.500470146 +0300
+++ ../auto/options	2026-06-11 17:16:21.527532988 +0300
@@ -143,7 +143,7 @@
             . auto/help
             exit 0
         ;;
-
+        --build=*|--host=*|--infodir=*|--datadir=*|--sysconfdir=*|ipv6|regex|pcre|--no-openssl|--no-hardening|--no-tests|--no-zlib|--no-zstd|--no-brotli|--no-njs|--no-otel|--no-debug|--no-perl) : ;;
         *)
             $echo
             $echo $0: error: invalid option \"$nxt_option\".
