summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/xhost/autogen.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/xhost/autogen.sh b/app/xhost/autogen.sh
new file mode 100644
index 000000000..e81f98910
--- /dev/null
+++ b/app/xhost/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 "$@"
+