summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autogen.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100644
index 0000000..2a01086
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+srcdir="${0%/*}"
+
+{(
+ cd "${srcdir}"
+ [ -d build-aux ] || mkdir build-aux
+ aclocal
+ autoconf
+ autoheader
+ automake --add-missing --copy
+)}
+
+"${srcdir}/configure" "${@}"