aboutsummaryrefslogtreecommitdiff
path: root/libX11/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/autogen.sh')
-rw-r--r--libX11/autogen.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/libX11/autogen.sh b/libX11/autogen.sh
new file mode 100644
index 000000000..904cd6746
--- /dev/null
+++ b/libX11/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 "$@"