summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--morphlib/buildsystem.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/morphlib/buildsystem.py b/morphlib/buildsystem.py
index 0efd8e73..8e213b75 100644
--- a/morphlib/buildsystem.py
+++ b/morphlib/buildsystem.py
@@ -100,7 +100,8 @@ class AutotoolsBuildSystem(BuildSystem):
def __init__(self):
self.configure_commands = [
'export NOCONFIGURE=1; ' +
- 'if [ -e autogen.sh ]; then ./autogen.sh; ' +
+ 'if [ -e autogen ]; then ./autogen; ' +
+ 'elif [ -e autogen.sh ]; then ./autogen.sh; ' +
'elif [ ! -e ./configure ]; then autoreconf -ivf; fi',
'./configure --prefix="$PREFIX"',
]
@@ -115,6 +116,7 @@ class AutotoolsBuildSystem(BuildSystem):
def used_by_project(self, exists):
indicators = [
+ 'autogen',
'autogen.sh',
'configure',
'configure.ac',