1
DRIZZLE_PLUGIN(logging_gearman,[Gearman Logging Plugin],
2
[Logging Plugin that logs to Gearman.])
3
DRIZZLE_PLUGIN_DYNAMIC(logging_gearman, [liblogging_gearman.la])
4
DRIZZLE_PLUGIN_STATIC(logging_gearman, [liblogging_gearman.a])
5
DRIZZLE_PLUGIN_MANDATORY(logging_gearman) dnl Default
6
DRIZZLE_PLUGIN_ACTIONS(logging_gearman, [
7
AC_LIB_HAVE_LINKFLAGS(gearman,,
8
[#include <libgearman/gearman.h>],
10
gearman_client_st gearman_client;
12
AS_IF([test "x$ac_cv_libgearman" = "xno"],
13
AC_MSG_WARN([libgearman not found: not building logging_gearman plugin]))
14
DRIZZLED_PLUGIN_DEP_LIBS="${DRIZZLED_PLUGIN_DEP_LIBS} ${LIBGEARMAN}"
15
AM_CONDITIONAL(BUILD_LOGGING_GEARMAN,[test "${ac_cv_libgearman}" = "yes"])