summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorRussell King <rmk_cubox@arm.linux.org.uk>2013-05-23 00:40:18 +0100
committerRussell King <rmk@arm.linux.org.uk>2013-06-14 13:07:17 +0100
commit204ea08a1598909ae05c217e1e7ca709776efbde (patch)
tree326c2fd3d998707e83365ac5f156c98f0fff3956 /autogen.sh
Initial checkin of Marvell Armada xorg driver
Signed-off-by: Russell King <rmk_cubox@arm.linux.org.uk>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..c017353
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+#
+# Run the various GNU autotools to bootstrap the build
+# system. Should only need to be done once.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf --install || exit 1
+
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"