summaryrefslogtreecommitdiffstats
path: root/scripts/configure_helper.py
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-01-26 12:24:22 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-01-29 17:56:18 +0100
commit8a60551648c10fa350929c1781745f5fb8260792 (patch)
tree61d3ec165a350714cdffb7c0abcaa807d5903767 /scripts/configure_helper.py
parent52fe2dd1108d28f2795e96728c388b25c1055483 (diff)
downloadptxdist-8a60551648c10fa350929c1781745f5fb8260792.tar.gz
ptxdist-8a60551648c10fa350929c1781745f5fb8260792.tar.xz
configure_helper.py: default to autoconf if not tool is configured
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/configure_helper.py')
-rwxr-xr-xscripts/configure_helper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/configure_helper.py b/scripts/configure_helper.py
index fa6bdbd93..7c22aa7b2 100755
--- a/scripts/configure_helper.py
+++ b/scripts/configure_helper.py
@@ -154,6 +154,8 @@ def ask_ptxdist(pkg):
subdir = p.stdout.readline().strip()
opt = shlex.split(p.stdout.readline().strip()) + shlex.split(p.stdout.readline().strip())
tool = p.stdout.readline().strip()
+ if not tool and opt:
+ tool = "autoconf"
meson_default = shlex.split(p.stdout.readline().strip())
autoconf_default = shlex.split(p.stdout.readline().strip())
if tool == "meson" and not opt: