summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2013-02-11 19:13:31 +0100
committermanuel <manuel@mausz.at>2013-02-11 19:13:31 +0100
commit0446f4e8d07db72649fbff720367945950c017b7 (patch)
treec0c49173e5d8e64c3ef042db7d1f82d4e227fe36 /m4
parentbcff4f2e3520eaf170c282ba03d38ba6a4fa95cf (diff)
downloadmysql-table_sizes-0446f4e8d07db72649fbff720367945950c017b7.tar.gz
mysql-table_sizes-0446f4e8d07db72649fbff720367945950c017b7.tar.bz2
mysql-table_sizes-0446f4e8d07db72649fbff720367945950c017b7.zip
there's no need for --mysql-plugin-dir to exist
Diffstat (limited to 'm4')
-rw-r--r--m4/ac_mysql.m410
1 files changed, 2 insertions, 8 deletions
diff --git a/m4/ac_mysql.m4 b/m4/ac_mysql.m4
index 7a3d484..ef23f9e 100644
--- a/m4/ac_mysql.m4
+++ b/m4/ac_mysql.m4
@@ -49,14 +49,8 @@ AC_DEFUN([MYSQL_PLUGIN_DIR_TEST], [
49 AC_ARG_WITH([mysql-plugindir], 49 AC_ARG_WITH([mysql-plugindir],
50 [AS_HELP_STRING([--with-mysql-plugindir=PATH], [MySQL plugin directory where plugin is to be copied to])], 50 [AS_HELP_STRING([--with-mysql-plugindir=PATH], [MySQL plugin directory where plugin is to be copied to])],
51 [ 51 [
52 ac_mysql_plugin_dir=`readlink -e "$withval"` 52 ac_mysql_plugin_dir=`readlink -m "$withval"`
53 if test -d "$ac_mysql_plugin_dir" 53 MYSQL_PLUGIN_DIR="$ac_mysql_plugin_dir"
54 then
55 MYSQL_PLUGIN_DIR="$ac_mysql_plugin_dir"
56 AC_MSG_RESULT([yes: Using $ac_mysql_plugin_dir])
57 else
58 AC_MSG_ERROR([invalid MySQL plugin directory : $ac_mysql_plugin_dir])
59 fi
60 ], 54 ],
61 [ 55 [
62 ac_mysql_plugin_dir="/usr/lib/mysql/plugin" 56 ac_mysql_plugin_dir="/usr/lib/mysql/plugin"