summaryrefslogtreecommitdiff
path: root/config/ac-macros/plugins.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/ac-macros/plugins.m4')
-rw-r--r--config/ac-macros/plugins.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/config/ac-macros/plugins.m4 b/config/ac-macros/plugins.m4
index 5d15afeda99..9fcfc031281 100644
--- a/config/ac-macros/plugins.m4
+++ b/config/ac-macros/plugins.m4
@@ -460,7 +460,11 @@ dnl Although this is "pretty", it breaks libmysqld build
])
])
])
- mysql_plugin_defs="$mysql_plugin_defs, [builtin_]$2[_plugin]"
+ m4_ifdef([$9],[
+ mysql_mandatory_plugins="$mysql_mandatory_plugins [builtin_]$2[_plugin],"
+ ],[
+ mysql_optional_plugins="$mysql_optional_plugins [builtin_]$2[_plugin],"
+ ])
[with_plugin_]$2=yes
AC_MSG_RESULT([yes])
m4_ifdef([$11],[