diff --git a/autogen.sh b/autogen.sh
index 904cd6746c8734b2c33e3f80773d4759715d2f6e..1ecf20050f5a49c83fc26b5331cf77d9689aa648 100755 (executable)
--- a/autogen.sh
+++ b/autogen.sh
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
+test -n "$NOCONFIGURE" && {
+ echo "skipping configure stage as requested."
+ echo "autogen.sh done."
+ exit 0
+}
+
$srcdir/configure --enable-maintainer-mode "$@"