]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
m4: want_cassandra.m4 - Add check for cass_cluster_set_use_hostname_resolution
authorAki Tuomi <aki.tuomi@open-xchange.com>
Sun, 23 Aug 2020 19:06:50 +0000 (22:06 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Fri, 11 Sep 2020 05:31:07 +0000 (05:31 +0000)
m4/want_cassandra.m4

index e5c8fc28ae795d7c5e063b9e74e9965fcfcb0a59..ed7b8b3931e317ed401760bb57410594e3467f8c 100644 (file)
@@ -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])