summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-01-13 11:31:46 -0800
committerMatt Turner <mattst88@gmail.com>2012-08-28 20:53:27 -0700
commit8d336f8b3ceea9652debd9216d92b36b2dd2ab0f (patch)
tree8b8f8bacf1ee2166d1a20d6d0cb5cfd02ef63a93 /autogen.sh
parent98398a3e02eca8706a21f58736246a8bb3bd3f92 (diff)
downloadglu-8d336f8b3ceea9652debd9216d92b36b2dd2ab0f.tar.gz
Add an autotools build system for libGLU.
Now that it's split out from Mesa, we don't have the old build system.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..30d679f
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
+autoreconf --force --install --verbose "$srcdir"
+test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"