summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-26 01:18:43 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-26 01:18:43 +0000
commitefca764ce95094531baf14daf6e5e538cc1e9210 (patch)
tree7c221a2866e8f7a8b5d243151d790628ea6b2dfa /autogen.sh
parente2f4c1e72976180cfbf2486236468e25f81ca431 (diff)
"Build system for `basename $PWD | sed s/xf86-video-//`"
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 "$@"
+