summaryrefslogtreecommitdiff
path: root/lib/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/autogen.sh')
-rw-r--r--lib/autogen.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/autogen.sh b/lib/autogen.sh
index 42cb684..d9cee9d 100644
--- a/lib/autogen.sh
+++ b/lib/autogen.sh
@@ -1,4 +1,8 @@
#! /bin/sh
+
+[ -d m4 ] || mkdir m4
+[ -d build-aux ] || mkdir build-aux
+
if [ -x "`which autoreconf 2>/dev/null`" ] ; then
exec autoreconf -ivf
fi