mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
mariadb: Add patch to fix urecognized options
Add patch to tell autoconf about with-plugin option. In this way we avoid warnings like: configure: WARNING: unrecognized options: --with-plugin-maria Change-Id: Id64ac01d7f2072e1bca8979c5da3e8c6520105cb Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
c9236a3665
commit
097c6ede90
@@ -0,0 +1,17 @@
|
||||
Tell autoconf about with-plugin option to avoid warnings like:
|
||||
configure: WARNING: unrecognized options: --with-plugin-maria
|
||||
|
||||
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
|
||||
|
||||
Index: mariadb-5.1.67/config/ac-macros/plugins.m4
|
||||
===================================================================
|
||||
--- mariadb-5.1.67.orig/config/ac-macros/plugins.m4
|
||||
+++ mariadb-5.1.67/config/ac-macros/plugins.m4
|
||||
@@ -38,6 +38,7 @@ AC_DEFUN([_MYSQL_PLUGIN],[
|
||||
_MYSQL_PLUGAPPEND([__mysql_plugin_list__],[$1])
|
||||
m4_define([MYSQL_PLUGIN_NAME_]AS_TR_CPP([$1]), [$3])
|
||||
m4_define([MYSQL_PLUGIN_DESC_]AS_TR_CPP([$1]), [$4])
|
||||
+ m4_ifdef([_AC_ENABLE_IF], [_AC_ENABLE_IF([with],[plugin-$1])])
|
||||
_MYSQL_PLUGAPPEND_META([$1], $5)
|
||||
ifelse(m4_bregexp(__mysql_include__,[/plug\.in$]),-1,[],[
|
||||
MYSQL_PLUGIN_DIRECTORY([$1],
|
||||
Reference in New Issue
Block a user