2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Avoid use of the DoH acronym in ./configure output

Replace all uses of the DoH acronym in ./configure output with
"DNS-over-HTTPS support" in order to improve error message readability.
This commit is contained in:
Michał Kępień
2022-01-20 15:40:37 +01:00
parent 18db2269bf
commit 279b048e34

View File

@@ -575,10 +575,10 @@ AC_ARG_WITH([libnghttp2],
AS_IF([test "$enable_doh" = "yes"],
[AS_CASE([$with_libnghttp2],
[no],[AC_MSG_ERROR([Use '--disable-doh' to disable DoH])],
[no],[AC_MSG_ERROR([Use '--disable-doh' to disable DNS-over-HTTPS support])],
[auto|yes],[PKG_CHECK_MODULES([LIBNGHTTP2], [libnghttp2 >= 1.6.0],
[AC_DEFINE([HAVE_LIBNGHTTP2], [1], [Build with DoH support])],
[AC_MSG_ERROR([DoH requested, but libnghttp2 not found])])],
[AC_DEFINE([HAVE_LIBNGHTTP2], [1], [Build with DNS-over-HTTPS support])],
[AC_MSG_ERROR([DNS-over-HTTPS support requested, but libnghttp2 not found])])],
[AC_MSG_ERROR([Specifying libnghttp2 installation path is not supported, adjust PKG_CONFIG_PATH instead])])])
AM_CONDITIONAL([HAVE_LIBNGHTTP2], [test -n "$LIBNGHTTP2_LIBS"])