diff options
author | unknown <serg@sergbook.mysql.com> | 2006-05-04 14:15:37 -0400 |
---|---|---|
committer | unknown <serg@sergbook.mysql.com> | 2006-05-04 14:15:37 -0400 |
commit | 9d08bc06207a7ad399e0e09b08cc49721cce97e5 (patch) | |
tree | fce5e75405d8fffdcc8bb33d88323bdc445d5270 /config/ac-macros/plugins.m4 | |
parent | 462a43e16b5bb2307effe44d18cdb82fef1ff170 (diff) | |
download | mariadb-git-9d08bc06207a7ad399e0e09b08cc49721cce97e5.tar.gz |
cleanup - don't test in configure what belongs to m4
Diffstat (limited to 'config/ac-macros/plugins.m4')
-rw-r--r-- | config/ac-macros/plugins.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/ac-macros/plugins.m4 b/config/ac-macros/plugins.m4 index aa28a611e9e..bd176d4acd7 100644 --- a/config/ac-macros/plugins.m4 +++ b/config/ac-macros/plugins.m4 @@ -397,11 +397,11 @@ dnl Although this is "pretty", it breaks libmysqld build m4_ifdef([$6],[ if test -n "$mysql_use_plugin_dir" ; then mysql_plugin_dirs="$mysql_plugin_dirs $6" - if test -f "$srcdir/$6/configure" ; then - other_configures="$other_configures $6/configure" - else - AC_CONFIG_FILES($6/Makefile) - fi + m4_syscmd(test -f "$6/configure") + ifelse(m4_sysval, 0, + [other_configures="$other_configures $6/configure"], + [AC_CONFIG_FILES($6/Makefile)] + ) ifelse(m4_substr($6, 0, 8), [storage/], [mysql_se_dirs="$mysql_se_dirs ]m4_substr($6, 8)", m4_substr($6, 0, 7), [plugin/], |