diff --git a/buildout/hooks/mysql-tritonn-hooks.py b/buildout/hooks/mysql-tritonn-hooks.py index 054bf7699f499f1a3e75afef6534712a6b710000..56899ab27a9c71d2e3593bc2100f201627a32e0a 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: