~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_gearman/plug.in

  • Committer: Mark Atwood
  • Date: 2009-03-04 01:02:00 UTC
  • mto: (968.2.20 mordred)
  • mto: This revision was merged to the branch mainline in revision 971.
  • Revision ID: me@mark.atwood.name-20090304010200-t1n4xxdoil2yae9a
add gearman logging plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>],
 
9
  [
 
10
     gearman_client_st gearman_client;
 
11
  ])
 
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"])
 
16
])