From: Aki Tuomi Date: Sun, 23 Aug 2020 19:06:50 +0000 (+0300) Subject: m4: want_cassandra.m4 - Add check for cass_cluster_set_use_hostname_resolution X-Git-Tag: 2.3.13~224 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5cf96c1e733570e8445a96bf91a56c58229e3013;p=thirdparty%2Fdovecot%2Fcore.git m4: want_cassandra.m4 - Add check for cass_cluster_set_use_hostname_resolution --- diff --git a/m4/want_cassandra.m4 b/m4/want_cassandra.m4 index e5c8fc28ae..ed7b8b3931 100644 --- a/m4/want_cassandra.m4 +++ b/m4/want_cassandra.m4 @@ -8,6 +8,9 @@ AC_CHECK_LIB(cassandra, cass_cluster_set_constant_speculative_execution_policy, [ AC_DEFINE(HAVE_CASSANDRA_SPECULATIVE_POLICY, 1, [Cassandra supports speculative execution policy]) ],, $CASSANDRA_LIBS) + AC_CHECK_LIB(cassandra, cass_cluster_set_use_hostname_resolution, [ + AC_DEFINE(HAVE_CASS_CLUSTER_SET_USE_HOSTNAME_RESOLUTION,, [Build with cass_cluster_set_use_hostname_resolution() support]) + ],, $CASSANDRA_LIBS) ], [ AS_IF([test "$want_cassandra" = yes], [ AC_ERROR([Can't build with Cassandra support: cassandra.h not found])