From 9d08bc06207a7ad399e0e09b08cc49721cce97e5 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 4 May 2006 14:15:37 -0400 Subject: cleanup - don't test in configure what belongs to m4 --- config/ac-macros/plugins.m4 | 10 +++++----- 1 file 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/], -- cgit v1.2.1