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