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 ...@@ -5,15 +5,17 @@ import os
# 'compile-directory', which is why the cd .../* would work. # 'compile-directory', which is why the cd .../* would work.
CMDS = """ CMDS = """
libtoolize -c -f libtoolize -c -f
aclocal aclocal %(aclocal-options)s
autoheader autoheader
automake -c -a -i automake -c -a -f
autoconf autoconf
touch sql/sql_yacc.yy touch sql/sql_yacc.yy
""".strip() """.strip()
def pre_configure_hook(options, buildout): 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): def post_make_hook(options, buildout):
try: 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