summaryrefslogtreecommitdiffstats
path: root/tools/config-gen
diff options
context:
space:
mode:
authorSami Kerola2013-09-08 18:09:07 +0200
committerKarel Zak2013-09-10 12:57:31 +0200
commit0a2c1e8ed72547571eb3ed6d492c89b136993d11 (patch)
tree799719ba318ee9f4ad06f13348a560a7df4e7ae8 /tools/config-gen
parentlast: fix memory leak (diff)
downloadkernel-qcow2-util-linux-0a2c1e8ed72547571eb3ed6d492c89b136993d11.tar.gz
kernel-qcow2-util-linux-0a2c1e8ed72547571eb3ed6d492c89b136993d11.tar.xz
kernel-qcow2-util-linux-0a2c1e8ed72547571eb3ed6d492c89b136993d11.zip
tools: generate autotools files if missing
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tools/config-gen')
-rwxr-xr-xtools/config-gen4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/config-gen b/tools/config-gen
index 72cefc9bc..b7ccadd0a 100755
--- a/tools/config-gen
+++ b/tools/config-gen
@@ -28,5 +28,9 @@ if [ -n "$CFLAGS" ]; then
export CFLAGS
fi
+if [ ! -f ./configure ]; then
+ ./autogen.sh
+fi
+
echo
./configure $opts