summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2007-03-29 22:59:29 -0700
committerKeith Packard <keithp@neko.keithp.com>2007-03-29 22:59:29 -0700
commit38c2c45514d50b825a5c74abedc30cb2272064d7 (patch)
tree78597ded4a7d9dc2290e27942688f7834f42ed80 /autogen.sh
parentd52f81e43da29d94122d62c1b1be34946960033c (diff)
Add autogen.sh
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 "$@"
+