summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2016-08-11 13:49:45 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-08-11 13:49:45 -0500
commit8d84c8edfff0f18ef4f469103c154616206022cf (patch)
treee160f255a99bf2418145eff9ceae40bbbc6f5fa3 /configure.ac
parente845ef6762bdfd404f1f3f2b5c22c66e49eaec68 (diff)
parent8d42ff784d0da04fda44ef8395f35671bd5ec0b3 (diff)
Merge "res_resolver_unbound: Allow compilation with libunbound version < 1.5"
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ed6f8a8d4..8ea1cb038 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2101,7 +2101,8 @@ AST_EXT_LIB_CHECK([NEWT], [newt], [newtBell], [newt.h])
# script bug which does not find the ldns library. The bug is fixed in
# v1.4.22 but that version is not easily detectable.
#
-AST_EXT_LIB_CHECK([UNBOUND], [unbound], [ub_ctx_add_ta_autr], [unbound.h], [])
+AST_EXT_LIB_CHECK([UNBOUND], [unbound], [ub_ctx_delete], [unbound.h], [])
+AST_C_DECLARE_CHECK([UNBOUND_CONST_PARAMS], [UNBOUND_VERSION_MAJOR], [unbound.h])
AST_EXT_LIB_CHECK([UNIXODBC], [odbc], [SQLConnect], [sql.h], [])