mariadb/plugin/handler_socket/plug.in
Michael Widenius 2c7d6f12ee Added HandlerSocket plugin
- Fixed compiler errors
- Modified Makefiles to be part of plugin directory
- Some minor changes in database.cpp to use the new MariaDB handler interface
2011-02-20 15:22:10 +02:00

19 lines
682 B
Text

MYSQL_PLUGIN(handlersocket, [HandlerSocket], [HandlerSocket], [max])
MYSQL_PLUGIN_DYNAMIC(handlersocket, handlersocket.la)
MYSQL_PLUGIN_ACTIONS(handlersocket,
[
ac_mysql_source_dir='$(top_srcdir)'
MYSQL_INC="-I$ac_mysql_source_dir/sql"
MYSQL_INC="$MYSQL_INC -I$ac_mysql_source_dir/include"
MYSQL_INC="$MYSQL_INC -I$ac_mysql_source_dir/regex"
MYSQL_INC="$MYSQL_INC -I$ac_mysql_source_dir"
MYSQL_LIB='-L$(top_builddir)/libservices -lmysqlservices'
PLUGIN_DIR='$(pkglibdir)/plugin'
HANDLERSOCKET_SUBDIRS="libhsclient handlersocket client"
AC_SUBST(MYSQL_INC)
AC_SUBST(MYSQL_CFLAGS)
AC_SUBST(MYSQL_LIB)
AC_SUBST(PLUGIN_DIR)
AC_SUBST(HANDLERSOCKET_SUBDIRS)
])