summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-06-04 10:41:34 -0700
committerKeith Packard <keithp@keithp.com>2009-06-04 10:41:34 -0700
commit210dbaa23cdacf3a6f2d6e23493e96ee2ac9bca7 (patch)
tree42dbabd0caa7186c898da746014341d3ff31a201 /autogen.sh
parent8cce307bb3156584ba17ae5a787f645dfee5fb94 (diff)
Use autotools, move altos to src subdir
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 00000000..4e8b11ba
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf --force -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"