mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
If terminfo/termcap isn't found, and --without-textui isn't given, abort the
configure git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2690 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
5fe22481bd
commit
c5b852ed57
26
configure.in
26
configure.in
@ -482,9 +482,8 @@ if test "x$want_textui" = "xyes"; then
|
||||
LIBS="$LIBS -ltermcap"
|
||||
want_termcap=yes
|
||||
], [
|
||||
AC_MSG_WARN(Terminfo/termcap not found)
|
||||
AC_ERROR(Terminfo/termcap not found - install ncurses-devel package)
|
||||
want_textui=no
|
||||
curses_error=yes
|
||||
])))
|
||||
fi
|
||||
if test "x$want_termcap" = "xyes"; then
|
||||
@ -836,23 +835,16 @@ fi
|
||||
|
||||
echo
|
||||
|
||||
if test "x$curses_error" != "xyes"; then
|
||||
if test "x$want_textui" = "xno"; then
|
||||
text=no
|
||||
elif test "x$want_termcap" = "xyes"; then
|
||||
text="yes, using termcap"
|
||||
elif test "x$want_terminfo" = "xyes"; then
|
||||
text="yes, using terminfo"
|
||||
else
|
||||
text="yes, using curses"
|
||||
fi
|
||||
echo "Building text frontend ..... : $text"
|
||||
if test "x$want_textui" = "xno"; then
|
||||
text=no
|
||||
elif test "x$want_termcap" = "xyes"; then
|
||||
text="yes, using termcap"
|
||||
elif test "x$want_terminfo" = "xyes"; then
|
||||
text="yes, using terminfo"
|
||||
else
|
||||
echo "Building text frontend ..... : NO!!"
|
||||
echo " - Because curses was not found, specify the path to it with"
|
||||
echo " --with-curses=/dir and make sure you have the curses headers"
|
||||
echo " installed (usually in ncurses-devel package)"
|
||||
text="yes, using curses"
|
||||
fi
|
||||
echo "Building text frontend ..... : $text"
|
||||
echo "Building irssi bot ......... : $want_irssibot"
|
||||
echo "Building irssi proxy ....... : $want_irssiproxy"
|
||||
echo "Building with IPv6 support . : $want_ipv6"
|
||||
|
Loading…
Reference in New Issue
Block a user