X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=b697ab92ddc67cf3a8df12d8e06c57dfef62ca76;hb=41288c6a9ed050b41ad47184aa1b53668c3588cc;hp=5d3fcaec3d808acbaabd09ad3eeca296a3fe581e;hpb=c442c66d9e98852f1b8eaa1b816d6ee7f84d0342;p=collectd.git diff --git a/configure.ac b/configure.ac index 5d3fcaec..b697ab92 100644 --- a/configure.ac +++ b/configure.ac @@ -4503,11 +4503,10 @@ then if test "x$with_librdkafka_log_cb" = "xyes" then AC_DEFINE(HAVE_LIBRDKAFKA_LOG_CB, 1, [Define if librdkafka log facility is present and usable.]) - fi - if test "x$with_librdkafka_logger" = "xyes" + else if test "x$with_librdkafka_logger" = "xyes" then AC_DEFINE(HAVE_LIBRDKAFKA_LOGGER, 1, [Define if librdkafka log facility is present and usable.]) - fi + fi; fi fi CPPFLAGS="$SAVE_CPPFLAGS" LDFLAGS="$SAVE_LDFLAGS"