summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-26 22:12:58 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-26 22:12:58 +0000
commit5754df51d9b0f8bb8dac7b8c0072da929f1241f0 (patch)
treef91a6098b54f6266c070dd0787c8219661586fdb /autogen.sh
parent4b98eb4b30d694139d5e597c445d65d637ab7472 (diff)
Build system for siliconmotion
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..e81f989
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,13 @@
+#! /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 "$@"
+