aboutsummaryrefslogtreecommitdiff
path: root/apps/xrdb/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'apps/xrdb/autogen.sh')
-rwxr-xr-xapps/xrdb/autogen.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/xrdb/autogen.sh b/apps/xrdb/autogen.sh
new file mode 100755
index 000000000..e81f98910
--- /dev/null
+++ b/apps/xrdb/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 "$@"
+