--- a/autogen.sh
+++ b/autogen.sh
@@ -74,7 +74,7 @@
 	exit 1
 fi
 
-if test -z "$*"; then
+if test -z "$*" -a "$NOCONFIGURE" != 1; then
 	echo "**Warning**: I am going to run \`configure' with no arguments."
 	echo "If you wish to pass any to it, please specify them on the"
 	echo \`$0\'" command line."