summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorunknown <acurtis@xiphis.org>2006-05-03 15:58:15 -0700
committerunknown <acurtis@xiphis.org>2006-05-03 15:58:15 -0700
commit69b3476f1f6aae4bd8d624cf2c94cfe3cc8e3b5d (patch)
tree4e46012dbd752625dada9f49cc9735b886391a04 /config
parent2f8b344b06ea646f9304e239b06237877628253f (diff)
downloadmariadb-git-69b3476f1f6aae4bd8d624cf2c94cfe3cc8e3b5d.tar.gz
fix legacy configure option handling
Diffstat (limited to 'config')
-rw-r--r--config/ac-macros/plugins.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/config/ac-macros/plugins.m4 b/config/ac-macros/plugins.m4
index 1488932c1ad..aa28a611e9e 100644
--- a/config/ac-macros/plugins.m4
+++ b/config/ac-macros/plugins.m4
@@ -60,13 +60,14 @@ AC_DEFUN([MYSQL_STORAGE_ENGINE],[
MYSQL_PLUGIN_DEFINE([$1], [WITH_]AS_TR_CPP([$1])[_STORAGE_ENGINE])
ifelse([$2],[no],[],[
_MYSQL_LEGACY_STORAGE_ENGINE(
+ m4_bpatsubst([$1], -, _),
m4_bpatsubst(m4_default([$2], [$1-storage-engine]), -, _))
])
])
AC_DEFUN([_MYSQL_LEGACY_STORAGE_ENGINE],[
-if test "[${with_]$1[+set}]" = set; then
- [with_plugin_]$1="[$with_]$1"
+if test "[${with_]$2[+set}]" = set; then
+ [with_plugin_]$1="[$with_]$2"
fi
])