summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-09-12 17:15:33 -0700
committerKeith Packard <keithp@keithp.com>2013-09-12 17:15:33 -0700
commit0c90a6e5f8e127d179d870a7fdad660acb9299c7 (patch)
tree8e5623d64e720d4456bc87fa655e4a0d416bf0be /autogen.sh
Initial import of Xlib Present binding
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..904cd67
--- /dev/null
+++ b/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 "$@"