Commit 6578e9e8 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

support passing aclocal-options to include m4 macros provided by other...

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
parent cc98d08e
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment