summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2007-06-17 21:29:34 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2007-06-17 21:29:34 +0000
commit40bcac38c149f7c5f9f024cfcb1276f5da0df499 (patch)
treed4417d7417eb96c733ab1ddb8dd28992cfac28db /autogen.sh
parentb2a4abf01f4b9eb5f964b11ffd1a1359afeccc4a (diff)
downloadirssi-40bcac38c149f7c5f9f024cfcb1276f5da0df499.zip
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
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
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."