summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-26 22:11:46 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-26 22:11:46 +0000
commitcacbac692c3725e372e9c25177f4b26d86a8c0d5 (patch)
treeba0ec570eee64e8cf6a86502627e478cc52c9f7c /autogen.sh
parentc1c5f421dbce58f58b430497a89c73100e17beb8 (diff)
Build system for savage
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 "$@"
+