summaryrefslogtreecommitdiff
path: root/xserver/autogen.sh
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-11-24 17:58:35 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-11-24 17:58:35 +0000
commitad949668cd555ec905c5340daba22b58c3874c13 (patch)
tree5608da463e78a518cb8e927ca4d777772a6987a7 /xserver/autogen.sh
parentbfafb7f2ba0c72f7daa15ec4e906cd7e7e11c041 (diff)
xserver 1.4
Diffstat (limited to 'xserver/autogen.sh')
-rw-r--r--xserver/autogen.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/xserver/autogen.sh b/xserver/autogen.sh
new file mode 100644
index 000000000..904cd6746
--- /dev/null
+++ b/xserver/autogen.sh
@@ -0,0 +1,12 @@
+#! /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 "$@"