From 4c0da629a37aabc3d79371911f6025e5c41c54eb Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Fri, 26 Nov 2010 22:02:53 +0000
Subject: [PATCH] * use our own autoconf, automake and libtools * no need to
 use hook

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40815 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/software-profiles/handlersocket.cfg | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/buildout/software-profiles/handlersocket.cfg b/buildout/software-profiles/handlersocket.cfg
index 831bc26045..41fe3b47fb 100644
--- a/buildout/software-profiles/handlersocket.cfg
+++ b/buildout/software-profiles/handlersocket.cfg
@@ -3,6 +3,9 @@
 
 [buildout]
 extends =
+  ../software-profiles/autoconf.cfg
+  ../software-profiles/automake.cfg
+  ../software-profiles/libtool.cfg
   ../software-profiles/mysql-5.1.cfg
 
 parts =
@@ -12,8 +15,12 @@ parts =
 recipe = hexagonit.recipe.cmmi
 url = http://github.com/ahiguti/HandlerSocket-Plugin-for-MySQL/tarball/1.0.6
 md5sum = 57f5c131e3d29701b01dd92c35ed25fd
-pre-configure-hook = ${buildout:directory}/hooks/autogen-hooks.py:pre_configure_hook
+configure-command =
+  ACLOCAL_ARGS=-I${libtool:location}/share/aclocal ./autogen.sh && ./configure
 configure-options =
+  --prefix=${buildout:parts-directory}/handlersocket
   --with-mysql-source=${mysql-5.1:location}__compile__/mysql-${mysql-5.1:version}
   --with-mysql-bindir=${mysql-5.1:location}/bin
   --with-mysql-plugindir=${mysql-5.1:location}/lib/mysql/plugin
+environment =
+  PATH =${autoconf:location}/bin:${automake-1.11:location}/bin:${libtool:location}/bin:%(PATH)s
-- 
2.30.9