~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/gearman_udf/pandora-plugin.ac

  • Committer: Monty Taylor
  • Author(s): Robert Collins
  • Date: 2009-11-03 20:51:31 UTC
  • mto: (1192.3.7 pandora-build)
  • mto: This revision was merged to the branch mainline in revision 1221.
  • Revision ID: mordred@inaugust.com-20091103205131-7hscp4y2iq8v5k1i
Merged buildsystem change from lifeless.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl Generated file, run make to rebuild
 
2
dnl Config for Gearman Client UDFs
 
3
 
 
4
AC_ARG_WITH([gearman-udf-plugin],[
 
5
dnl indented werid to make the help output correct
 
6
AS_HELP_STRING([--with-gearman-udf-plugin],[Build Gearman Client UDFs and enable it. @<:@default=yes@:>@])
 
7
AS_HELP_STRING([--without-gearman-udf-plugin],[Disable building Gearman Client UDFs])
 
8
  ],
 
9
  [with_gearman_udf_plugin="$withval"],
 
10
  [AS_IF([test "x$ac_with_all_plugins" = "yes"],
 
11
         [with_gearman_udf_plugin=yes],
 
12
         [with_gearman_udf_plugin=yes])])
 
13
m4_sinclude([plugin/gearman_udf/plugin.ac])
 
14
 
 
15
AS_IF([test "x${ac_cv_libgearman}" = "xyes"],
 
16
      [with_gearman_udf_plugin=yes],
 
17
      [with_gearman_udf_plugin=no])
 
18
  
 
19
AM_CONDITIONAL([BUILD_GEARMAN_UDF_PLUGIN],
 
20
               [test "x${ac_cv_libgearman}" = "xyes"])
 
21
AS_IF([test "x$with_gearman_udf_plugin" = "xyes"],
 
22
      [
 
23
  
 
24
        pandora_default_plugin_list="gearman_udf,${pandora_default_plugin_list}"
 
25
        pandora_builtin_list="builtin_gearman_udf_plugin,${pandora_builtin_list}"
 
26
        pandora_plugin_libs="${pandora_plugin_libs} \${top_builddir}/plugin/libgearman_udf_plugin.la"
 
27
        PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} "
 
28
      ])