mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
Make autogen fail if there is no lynx or links installed
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5118 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
dae9a76312
commit
63c2c08157
@ -41,7 +41,8 @@ if type lynx >/dev/null 2>&1 ; then
|
|||||||
elif type elinks >/dev/null 2>&1 ; then
|
elif type elinks >/dev/null 2>&1 ; then
|
||||||
elinks -dump docs/faq.html|perl -pe 's/^ *//; if ($_ eq "\n" && $state eq "Q") { $_ = ""; } elsif (/^([QA]):/) { $state = $1 } elsif ($_ ne "\n") { $_ = " $_"; };' > docs/faq.txt
|
elinks -dump docs/faq.html|perl -pe 's/^ *//; if ($_ eq "\n" && $state eq "Q") { $_ = ""; } elsif (/^([QA]):/) { $state = $1 } elsif ($_ ne "\n") { $_ = " $_"; };' > docs/faq.txt
|
||||||
else
|
else
|
||||||
echo No lynx or links present
|
echo "**Error**: No lynx or links present"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$NOCONFIGURE = x && test -z "$*"; then
|
if test x$NOCONFIGURE = x && test -z "$*"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user