summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-11-08 14:16:34 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-11-08 14:16:34 +1030
commit8806f3db5417f1c5946b6589cf2f043e9e7c68d3 (patch)
tree290d30740135e471476bf564317dc195381f657f /autogen.sh
parent1e0b1816a95910631a6b1c8572b9689c32aeb3a0 (diff)
Autotool the lot.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..e81f989
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"
+