diff options
Diffstat (limited to 'morphlib/buildsystem.py')
-rw-r--r-- | morphlib/buildsystem.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/morphlib/buildsystem.py b/morphlib/buildsystem.py index bd7db930..c9f04054 100644 --- a/morphlib/buildsystem.py +++ b/morphlib/buildsystem.py @@ -99,7 +99,8 @@ class AutotoolsBuildSystem(BuildSystem): def __init__(self): self.configure_commands = [ - 'NOCONFIGURE=1; if [ -e autogen.sh ]; then ./autogen.sh; ' + + 'export NOCONFIGURE=1; ' + + 'if [ -e autogen.sh ]; then ./autogen.sh; ' + 'elif [ ! -e ./configure ]; then autoreconf -ivf; fi', './configure --prefix="$PREFIX"', ] |