~tsarev/percona-server/5.1.59-porting-bad

219.2.7 by Ignacio Nin
Update HandlerSocket
1
diff -Naur a/HandlerSocket-Plugin-for-MySQL/configure.ac b/HandlerSocket-Plugin-for-MySQL/configure.ac
2
--- a/HandlerSocket-Plugin-for-MySQL/configure.ac	2011-04-12 06:01:24.101637007 -0300
3
+++ b/HandlerSocket-Plugin-for-MySQL/configure.ac	2011-04-12 07:08:56.761637002 -0300
4
@@ -101,14 +101,10 @@
174.1.4 by Aleksandr Kuzminsky
fixed handlersocket build bug
5
   AC_ARG_WITH([mysql-plugindir],
6
     [AS_HELP_STRING([--with-mysql-plugindir=PATH], [MySQL plugin directory where handlersocket.so to be copied])],
7
     [
8
-      ac_mysql_plugin_dir=`cd $withval && pwd`
9
-      if test -d "$ac_mysql_plugin_dir/" ; then
10
-        PLUGIN_DIR="$ac_mysql_plugin_dir"
11
-        AC_SUBST(PLUGIN_DIR)
12
-        AC_MSG_RESULT([yes: Using $ac_mysql_plugin_dir])
13
-      else
14
-        AC_MSG_ERROR([invalid MySQL plugin directory : $ac_mysql_plugin_dir])
15
-      fi
16
+      ac_mysql_plugin_dir=`echo $withval`
17
+      PLUGIN_DIR="$ac_mysql_plugin_dir"
18
+      AC_SUBST(PLUGIN_DIR)
19
+      AC_MSG_RESULT([yes: Using $ac_mysql_plugin_dir])
20
     ],
21
     [
22
       LIB_DIR_TMP=`"$ac_mysql_config" --plugindir`