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_sinclude(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
AS_IF([test "x$pandora_builtin_list" = "x"], pandora_builtin_list="NULL")
20
AC_SUBST([PANDORA_BUILTIN_LIST],[$pandora_builtin_list])
21
m4_ifval(m4_normalize([$1]),[
24
AC_DEFINE_UNQUOTED([PANDORA_BUILTIN_LIST],[$pandora_builtin_list],
25
[List of plugins to be built in])
29
AC_SUBST(pandora_plugin_test_list)
30
AC_SUBST(pandora_plugin_libs)
32
pandora_plugin_defs=`echo $pandora_plugin_defs | sed 's/, *$//'`
33
AC_SUBST(pandora_plugin_defs)
35
AC_SUBST(PANDORA_PLUGIN_DEP_LIBS)
36
AC_SUBST(pkgplugindir,"\$(pkglibdir)/plugin")
39
AC_DEFUN([PANDORA_ADD_PLUGIN_DEP_LIB],[
40
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} $*"