summaryrefslogtreecommitdiff
path: root/windowswmproto/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'windowswmproto/autogen.sh')
-rwxr-xr-xwindowswmproto/autogen.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/windowswmproto/autogen.sh b/windowswmproto/autogen.sh
new file mode 100755
index 0000000..fc34bd5
--- /dev/null
+++ b/windowswmproto/autogen.sh
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+if test -z "$NOCONFIGURE"; then
+ $srcdir/configure "$@"
+fi