1
dnl Copyright (C) 2009 Sun Microsystems
2
dnl This file is free software; Sun Microsystems
3
dnl gives unlimited permission to copy and/or distribute it,
4
dnl with or without modifications, as long as this notice is preserved.
5
dnl--------------------------------------------------------------------
7
dnl Declare our plugin modules
8
dnl--------------------------------------------------------------------
10
AC_DEFUN([PANDORA_PLUGINS],[
12
m4_include(config/plugin.ac)
13
dnl Add code here to read set plugin lists and set drizzled_default_plugin_list
14
AC_DEFINE_UNQUOTED([PANDORA_PLUGIN_LIST],[$pandora_default_plugin_list],
15
[List of plugins that should be loaded on startup if no
16
value is given for --plugin-load])
18
pandora_builtin_list=`echo $pandora_builtin_list | sed 's/, *$//'`
19
AC_DEFINE_UNQUOTED([PANDORA_BUILTIN_LIST],[$pandora_builtin_list],
20
[List of plugins to be built in])
22
AC_SUBST(pandora_plugin_test_list)
23
AC_SUBST(pandora_plugin_libs)
25
pandora_plugin_defs=`echo $pandora_plugin_defs | sed 's/, *$//'`
26
AC_SUBST(pandora_plugin_defs)
28
AC_SUBST(PANDORA_PLUGIN_DEP_LIBS)
29
AC_SUBST(pkgplugindir,"\$(pkglibdir)/plugin")
32
AC_DEFUN([PANDORA_ADD_PLUGIN_DEP_LIB],[
33
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} $*"