summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-04-29 13:21:56 -0700
committerKeith Packard <keithp@keithp.com>2013-04-29 13:24:09 -0700
commit534cfada3291b56fd13546615f12654cde1a502f (patch)
treed8d2b85a45a346d73879b89eed7a95b12004da3d /autogen.sh
downloadxorg-lib-libxshmfence-534cfada3291b56fd13546615f12654cde1a502f.tar.gz
Import first version of the library
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 "$@"