summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-05 21:12:01 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-05 21:12:01 +0000
commitd731a249d0c1c7f9eb77828c0d6e79cfdaf75589 (patch)
treeeba35096db8e4c27dfb17f8b4ace46ccc751fac6 /autogen.sh
parentdd7fee44b126636d6c3edd9e325ce411e3ae5d78 (diff)
Build system for xinit
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 "$@"
+