~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/plugins.m4

merge latest dev work

Show diffs side-by-side

added added

removed removed

Lines of Context:
342
342
 
343
343
AC_DEFUN([__DRIZZLE_EMIT_CHECK_PLUGIN],[
344
344
 m4_ifdef([$5],[
345
 
  AH_TEMPLATE($5, [Include ]$4[ into mysqld])
 
345
  AH_TEMPLATE($5, [Include ]$4[ into drizzled])
346
346
 ])
347
347
 AC_MSG_CHECKING([whether to use ]$3)
348
348
 mysql_use_plugin_dir=""
364
364
  ],[
365
365
   case "$with_mysqld_ldflags " in
366
366
     *"-all-static "*)
367
 
       # No need to build shared plugins when mysqld is linked with
 
367
       # No need to build shared plugins when drizzled is linked with
368
368
       # -all-static as it won't be able to load them.
369
369
       if test "X[$mysql_plugin_]$2" != Xyes -a \
370
370
               "X[$with_plugin_]$2" != Xyes; then
402
402
      m4_ifdef([$7],[
403
403
       ifelse(m4_bregexp($7, [^lib[^.]+\.a$]), -2, [
404
404
dnl change above "-2" to "0" to enable this section
405
 
dnl Although this is "pretty", it breaks libmysqld build
 
405
dnl Although this is "pretty", it breaks libdrizzled build
406
406
        m4_ifdef([$6],[
407
407
         mysql_use_plugin_dir="$6"
408
408
         mysql_plugin_libs="$mysql_plugin_libs -L[\$(top_builddir)]/$6"
742
742
AC_DEFUN([__DRIZZLE_CHECK_PLUGIN_ARGS],[
743
743
 AC_ARG_WITH([plugins],
744
744
AS_HELP_STRING([--with-plugins=PLUGIN[[[[[,PLUGIN..]]]]]],
745
 
               [Plugins to include in mysqld. (default is: $1) Must be a
 
745
               [Plugins to include in drizzled. (default is: $1) Must be a
746
746
                configuration name or a comma separated list of plugins.])
747
747
AS_HELP_STRING([],
748
748
               [Available configurations are:] dnl
753
753
m4_bpatsubst(__mysql_plugin_list__, :, [ ])[.])
754
754
AS_HELP_STRING([--without-plugin-PLUGIN],
755
755
               [Disable the named plugin from being built. Otherwise, for
756
 
                plugins which are not selected for inclusion in mysqld will be
 
756
                plugins which are not selected for inclusion in drizzled will be
757
757
                built dynamically (if supported)])
758
758
AS_HELP_STRING([--with-plugin-PLUGIN],
759
 
               [Forces the named plugin to be linked into mysqld statically.]),
 
759
               [Forces the named plugin to be linked into drizzled statically.]),
760
760
 [mysql_plugins="`echo $withval | tr ',.:;*[]' '       '`"],
761
761
 [mysql_plugins=['$1']])
762
762