diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 10:30:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 10:30:00 +0000 |
commit | 30c089950f2677aa0a13725dfe6c3c7b9213a115 (patch) | |
tree | eb5f9257b61c19b267328080102283e2eb368f22 /m4 | |
parent | Releasing progress-linux version 1.9.5-1~progress7.99u1. (diff) | |
download | dnsdist-30c089950f2677aa0a13725dfe6c3c7b9213a115.tar.xz dnsdist-30c089950f2677aa0a13725dfe6c3c7b9213a115.zip |
Merging upstream version 1.9.6.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/pdns_with_quiche.m4 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/m4/pdns_with_quiche.m4 b/m4/pdns_with_quiche.m4 index 5c3297b..672fe0f 100644 --- a/m4/pdns_with_quiche.m4 +++ b/m4/pdns_with_quiche.m4 @@ -10,10 +10,17 @@ AC_DEFUN([PDNS_WITH_QUICHE], [ AS_IF([test "x$with_quiche" != "xno"], [ AS_IF([test "x$with_quiche" = "xyes" -o "x$with_quiche" = "xauto"], [ - PKG_CHECK_MODULES([QUICHE], [quiche >= 0.15.0], [ + PKG_CHECK_MODULES([QUICHE], [quiche >= 0.22.0], [ [HAVE_QUICHE=1] AC_DEFINE([HAVE_QUICHE], [1], [Define to 1 if you have quiche]) - ], [ : ]) + AC_DEFINE([HAVE_QUICHE_STREAM_ERROR_CODES], [1], [Define to 1 if the Quiche API includes error code in quiche_conn_stream_recv and quiche_conn_stream_send]) + ], [ + # Quiche is older than 0.22.0, or no Quiche at all + PKG_CHECK_MODULES([QUICHE], [quiche >= 0.15.0], [ + [HAVE_QUICHE=1] + AC_DEFINE([HAVE_QUICHE], [1], [Define to 1 if you have quiche]) + ], [ : ]) + ]) ]) ]) AM_CONDITIONAL([HAVE_QUICHE], [test "x$QUICHE_LIBS" != "x"]) |