summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorunknown <acurtis@xiphis.org>2006-04-24 14:32:45 -0700
committerunknown <acurtis@xiphis.org>2006-04-24 14:32:45 -0700
commitf00d16a3325e5c28edfdb5aa9f1c4bf82d1fe1f9 (patch)
tree2b0a325ef689aa115e3396354d11016e3f7e8a86 /config
parent1260bc887358d3fc4c060b21eb1c755c3f5dee69 (diff)
downloadmariadb-git-f00d16a3325e5c28edfdb5aa9f1c4bf82d1fe1f9.tar.gz
WL#3201
post-merge fixes
Diffstat (limited to 'config')
-rw-r--r--config/ac-macros/plugins.m418
1 files changed, 18 insertions, 0 deletions
diff --git a/config/ac-macros/plugins.m4 b/config/ac-macros/plugins.m4
index 20d7e2cc11c..8ea5aca2595 100644
--- a/config/ac-macros/plugins.m4
+++ b/config/ac-macros/plugins.m4
@@ -238,6 +238,7 @@ AC_DEFUN([MYSQL_CONFIGURE_PLUGINS],[ dnl
_MYSQL_CHECK_PLUGIN_ARGS([$1])
_MYSQL_CONFIGURE_PLUGINS(m4_bpatsubst(__mysql_plugin_list__, :, [,]))
_MYSQL_DO_PLUGIN_ACTIONS(m4_bpatsubst(__mysql_plugin_list__, :, [,]))
+ _MYSQL_POST_PLUGIN_FIXUP()
]) dnl
]) dnl
])
@@ -661,5 +662,22 @@ _MYSQL_MODULE_ARGS_CHECK(m4_bpatsubst(__mysql_plugin_list__, :, [,]))
_MYSQL_CHECK_DEPENDENCIES(m4_bpatsubst(__mysql_plugin_list__, :, [,]))
])
+AC_DEFUN([_MYSQL_POST_PLUGIN_FIXUP],[
+ for plugdir in $mysql_plugin_dirs; do
+ case "$plugdir" in
+ storage/* )
+ mysql_se_dirs="$mysql_se_dirs `echo $plugdir | sed -e 's@^storage/@@'`"
+ ;;
+ plugin/* )
+ mysql_pg_dirs="$mysql_pg_dirs `echo $plugdir | sed -e 's@^plugin/@@'`"
+ ;;
+ *)
+ AC_MSG_ERROR([don't know how to handle plugin dir $plugdir])
+ ;;
+ esac
+ done
+ AC_SUBST(mysql_se_dirs)
+ AC_SUBST(mysql_pg_dirs)
+])
dnl ===========================================================================