[PATCH 2/4] tools: generate autotools files if missing

Sami Kerola
2013-09-08T16:09:21Z

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
---
tools/config-gen | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/tools/config-gen b/tools/config-gen
index 72cefc9..b7ccadd 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
--
1.8.4