summaryrefslogtreecommitdiff
path: root/morphlib/buildsystem.py
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-07-18 11:56:47 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-07-18 11:56:47 +0100
commit21e580beb3d7dfb01bd87ea788e3dabd18d012f3 (patch)
tree8d16149548b60f6bf654a1a850c0e68f0f23d2b7 /morphlib/buildsystem.py
parent5e317fab29c08c71f2292185716e37fe4419c125 (diff)
downloadmorph-21e580beb3d7dfb01bd87ea788e3dabd18d012f3.tar.gz
Avoid running configure twice on Autotools projects
We can set NOCONFIGURE=1 to prevent ./autogen.sh from running configure
Diffstat (limited to 'morphlib/buildsystem.py')
-rw-r--r--morphlib/buildsystem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/buildsystem.py b/morphlib/buildsystem.py
index 3e50b50b..bd7db930 100644
--- a/morphlib/buildsystem.py
+++ b/morphlib/buildsystem.py
@@ -99,7 +99,7 @@ class AutotoolsBuildSystem(BuildSystem):
def __init__(self):
self.configure_commands = [
- 'if [ -e autogen.sh ]; then ./autogen.sh; ' +
+ 'NOCONFIGURE=1; if [ -e autogen.sh ]; then ./autogen.sh; ' +
'elif [ ! -e ./configure ]; then autoreconf -ivf; fi',
'./configure --prefix="$PREFIX"',
]