]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tools: generate autotools files if missing
authorSami Kerola <kerolasa@iki.fi>
Sun, 8 Sep 2013 16:09:07 +0000 (17:09 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Sep 2013 10:57:31 +0000 (12:57 +0200)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
tools/config-gen

index 72cefc9bc7f203df45af0f983136e2af39856480..b7ccadd0a096d6c9495135cac9343f7b60533dc8 100755 (executable)
@@ -28,5 +28,9 @@ if [ -n "$CFLAGS" ]; then
        export CFLAGS
 fi
 
+if [ ! -f ./configure ]; then
+       ./autogen.sh
+fi
+
 echo
 ./configure $opts