summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorThomas Hellström <thomas@shipmail.org>2005-12-06 21:00:33 +0000
committerThomas Hellström <thomas@shipmail.org>2005-12-06 21:00:33 +0000
commit72c62d3466df1cbd348ac94952c71bda35448e8e (patch)
treefda5e37dd0ec49cd6c9c464c75fdafb3184dcb39 /autogen.sh
parent9561f6150f26b85c36adb353fb6fc9b2162dfd58 (diff)
Adjust for modular build.
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 000000000000..904cd6746c87
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,12 @@
+#! /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 "$@"