bcl: Run autogen if needed

This commit is contained in:
Ignacio Etcheverry 2019-11-15 21:54:40 +01:00
parent 6842f35540
commit bd129da22b

4
bcl.py
View File

@ -3,6 +3,7 @@
import os
import os.path
import runtime
import sys
from os.path import join as path_join
@ -29,6 +30,9 @@ def configure_bcl(opts: BclOpts):
if os.path.isfile(stamp_file):
return
if not os.path.isfile(path_join(opts.mono_source_root, 'configure')):
runtime.run_autogen(opts)
build_dir = path_join(opts.configure_dir, 'bcl')
mkdir_p(build_dir)