summaryrefslogtreecommitdiff
path: root/xineramaproto/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xineramaproto/autogen.sh')
-rwxr-xr-xxineramaproto/autogen.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/xineramaproto/autogen.sh b/xineramaproto/autogen.sh
new file mode 100755
index 0000000..7e8c74e
--- /dev/null
+++ b/xineramaproto/autogen.sh
@@ -0,0 +1,17 @@
+#! /bin/sh
+
+srcdir=`dirname "$0"`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd "$srcdir"
+
+autoreconf -v --install || exit 1
+cd "$ORIGDIR" || exit $?
+
+git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
+ git config --local format.subjectPrefix "PATCH xineramaproto"
+
+if test -z "$NOCONFIGURE"; then
+ exec "$srcdir"/configure "$@"
+fi