summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-02-27 19:09:31 (EST)
committer P. J. McDermott <pjm@nac.net>2014-02-27 19:09:31 (EST)
commit8b2b5b277d2225aabcc691bdcefe58f21382ec7f (patch)
treee4787f36b77861e47c5f635f9dc3891cf9a7c2c4 /autogen.sh
parentb732112c8e1b99ade1c89fa51ec1683fae05b21c (diff)
Switch to using GNU Autoconf and Automake.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..c90bb39
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+srcdir="${0%/*}"
+
+{(
+ cd "${srcdir}"
+ [ -d build-aux ] || mkdir build-aux
+ aclocal
+ autoconf
+ automake --add-missing --copy
+)}
+
+"${srcdir}/configure" "${@}"