summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-03-01 19:40:11 (EST)
committer P. J. McDermott <pjm@nac.net>2014-03-01 19:40:11 (EST)
commit20c66a1eaef872dbfad4ba82d2ca1c74eb4c9818 (patch)
treebf0f90695808884889e69b83ae898da21a55eccb /autogen.sh
parentb732112c8e1b99ade1c89fa51ec1683fae05b21c (diff)
parent20223fd13a6fadc7ea5a6519bb72a1e395b43223 (diff)
Merge branch 'feature/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" "${@}"