summaryrefslogtreecommitdiff
path: root/src/glsl/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/autogen.sh')
-rwxr-xr-xsrc/glsl/autogen.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/glsl/autogen.sh b/src/glsl/autogen.sh
new file mode 100755
index 0000000000..904cd6746c
--- /dev/null
+++ b/src/glsl/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 "$@"