summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-05 21:11:37 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-05 21:11:37 +0000
commit07ed043059d5fc7e8d694f6814eb1ba63946d646 (patch)
tree5ab759ec22d3daff8ae124fbcc799fe9d6f2ebdc /autogen.sh
parentace744607cc888bafb3ba487a11785fd46b65818 (diff)
Add build system for xgc
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 "$@"
+