summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-05 22:36:58 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-05 22:36:58 +0000
commit62d4ea34f0fd64e258abb993004c8966eecc6cf7 (patch)
tree72af58ba6537edd2998ed558e7b2ec2b4f282e05 /autogen.sh
parentf74edc7a9e0494657c36f34208141f6a2aa3e1f9 (diff)
Build system for xload
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 "$@"
+