summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-06 19:56:47 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-06 19:56:47 +0000
commitd99fbcde4c892e8d84e02b40ed3f5862a731e9c2 (patch)
tree7340f5e82ec6a5efb71f3070dff6a8723b0bd69a /autogen.sh
parent1b09e416dcaed59d319b295b933506a6f54fe918 (diff)
Add buildsystem for xdpyinfo
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 "$@"
+