From 6578e9e8cbc78c3f72e17f720170248a911dd8e2 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Tue, 9 Nov 2010 14:43:08 +0000 Subject: [PATCH] support passing aclocal-options to include m4 macros provided by other softwares, especially libtool. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40113 20353a03-c40f-0410-a6d1-a30d3c3de9de --- buildout/hooks/mysql-tritonn-hooks.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/buildout/hooks/mysql-tritonn-hooks.py b/buildout/hooks/mysql-tritonn-hooks.py index 054bf7699f..56899ab27a 100644 --- a/buildout/hooks/mysql-tritonn-hooks.py +++ b/buildout/hooks/mysql-tritonn-hooks.py @@ -5,15 +5,17 @@ import os # 'compile-directory', which is why the cd .../* would work. CMDS = """ libtoolize -c -f -aclocal +aclocal %(aclocal-options)s autoheader -automake -c -a -i +automake -c -a -f autoconf touch sql/sql_yacc.yy """.strip() def pre_configure_hook(options, buildout): - os.system(CMDS) + os.system(CMDS % { + 'aclocal-options':options.get('aclocal-options', '').strip(), + }) def post_make_hook(options, buildout): try: -- 2.30.9