summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-01 18:19:11 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-01 18:19:11 +0000
commit0e0ad15de21add08bffc4379bde7cb0cf7e77b74 (patch)
tree51e8bb36079410d55d1b2e5fd46d089c9cc6aa66 /autogen.sh
parentf76ab59c4316564f3342e461c5c3fa22dd4b3241 (diff)
Build system for xgamma
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 "$@"
+