1093.9.13
by Monty Taylor
pandora-build v0.42 - Started splitting out plugin system into pandora-build |
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-------------------------------------------------------------------- |
|
6 |
dnl PANDORA_PLUGINS |
|
7 |
dnl Declare our plugin modules |
|
8 |
dnl-------------------------------------------------------------------- |
|
9 |
||
10 |
AC_DEFUN([PANDORA_PLUGINS],[ |
|
11 |
||
1093.9.23
by Monty Taylor
pandora-build v0.49 |
12 |
m4_sinclude(config/plugin.ac)
|
1093.9.13
by Monty Taylor
pandora-build v0.42 - Started splitting out plugin system into pandora-build |
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]) |
|
17 |
||
18 |
pandora_builtin_list=`echo $pandora_builtin_list | sed 's/, *$//'` |
|
1126.6.1
by Monty Taylor
pandora-build v0.58 |
19 |
AS_IF([test "x$pandora_builtin_list" = "x"], pandora_builtin_list="NULL") |
20 |
AC_SUBST([PANDORA_BUILTIN_LIST],[$pandora_builtin_list]) |
|
1126.7.2
by mordred
pandora-build v0.59 - fixed for old autoconf. |
21 |
m4_ifval(m4_normalize([$1]),[ |
1126.7.3
by mordred
pandora-build v0.60 - check for -Wattributes with -fvisibility=hidden issues. |
22 |
AC_CONFIG_FILES($*)
|
23 |
],[ |
|
1126.6.1
by Monty Taylor
pandora-build v0.58 |
24 |
AC_DEFINE_UNQUOTED([PANDORA_BUILTIN_LIST],[$pandora_builtin_list], |
25 |
[List of plugins to be built in]) |
|
26 |
]) |
|
27 |
||
1093.9.13
by Monty Taylor
pandora-build v0.42 - Started splitting out plugin system into pandora-build |
28 |
|
29 |
AC_SUBST(pandora_plugin_test_list) |
|
30 |
AC_SUBST(pandora_plugin_libs) |
|
31 |
||
32 |
pandora_plugin_defs=`echo $pandora_plugin_defs | sed 's/, *$//'` |
|
33 |
AC_SUBST(pandora_plugin_defs) |
|
34 |
||
35 |
AC_SUBST(PANDORA_PLUGIN_DEP_LIBS) |
|
36 |
AC_SUBST(pkgplugindir,"\$(pkglibdir)/plugin") |
|
37 |
]) |
|
38 |
||
39 |
AC_DEFUN([PANDORA_ADD_PLUGIN_DEP_LIB],[ |
|
40 |
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} $*"
|
|
1093.9.19
by Monty Taylor
pandora-build v0.46 |
41 |
]) |