summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/mysql/mariadb/avoid-plugin-options-warnings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/mysql/mariadb/avoid-plugin-options-warnings.patch')
-rw-r--r--meta-oe/recipes-support/mysql/mariadb/avoid-plugin-options-warnings.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/mysql/mariadb/avoid-plugin-options-warnings.patch b/meta-oe/recipes-support/mysql/mariadb/avoid-plugin-options-warnings.patch
new file mode 100644
index 0000000000..84ff6f023d
--- /dev/null
+++ b/meta-oe/recipes-support/mysql/mariadb/avoid-plugin-options-warnings.patch
@@ -0,0 +1,17 @@
1Tell autoconf about with-plugin option to avoid warnings like:
2configure: WARNING: unrecognized options: --with-plugin-maria
3
4Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
5
6Index: mariadb-5.1.67/config/ac-macros/plugins.m4
7===================================================================
8--- mariadb-5.1.67.orig/config/ac-macros/plugins.m4
9+++ mariadb-5.1.67/config/ac-macros/plugins.m4
10@@ -38,6 +38,7 @@ AC_DEFUN([_MYSQL_PLUGIN],[
11 _MYSQL_PLUGAPPEND([__mysql_plugin_list__],[$1])
12 m4_define([MYSQL_PLUGIN_NAME_]AS_TR_CPP([$1]), [$3])
13 m4_define([MYSQL_PLUGIN_DESC_]AS_TR_CPP([$1]), [$4])
14+ m4_ifdef([_AC_ENABLE_IF], [_AC_ENABLE_IF([with],[plugin-$1])])
15 _MYSQL_PLUGAPPEND_META([$1], $5)
16 ifelse(m4_bregexp(__mysql_include__,[/plug\.in$]),-1,[],[
17 MYSQL_PLUGIN_DIRECTORY([$1],