From 40bcac38c149f7c5f9f024cfcb1276f5da0df499 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Sun, 17 Jun 2007 21:29:34 +0000 Subject: [PATCH] Do not print the no arguments warning message if NOCONFIGURE is set, reported by znx. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4563 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index bb23b642..e8b908d6 100755 --- a/autogen.sh +++ b/autogen.sh @@ -76,7 +76,7 @@ cat docs/help/Makefile.am.gen|sed "s/@HELPFILES@/$files/g"|sed 's/?/\\?/g'|tr '! echo "Documentation: html -> txt..." lynx -dump -nolist docs/faq.html|perl -pe 's/^ *//; if ($_ eq "\n" && $state eq "Q") { $_ = ""; } elsif (/^([QA]):/) { $state = $1 } elsif ($_ ne "\n") { $_ = " $_"; };' > docs/faq.txt -if test -z "$*"; then +if test x$NOCONFIGURE = x && test -z "$*"; 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."