summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-06 19:58:25 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-06 19:58:25 +0000
commit275174c66316b789f96ec23974de50499ea3c5a2 (patch)
treec17aef135397bc13c94ed43bef4f1775cd497157 /autogen.sh
parentce51f5174dc2adea8b3f30478a4990dca53575e7 (diff)
Build system for xev
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 "$@"
+