1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05: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:
Timo Sirainen 2002-04-16 17:26:33 +00:00 committed by cras
parent 5fe22481bd
commit c5b852ed57

View File

@ -482,9 +482,8 @@ if test "x$want_textui" = "xyes"; then
LIBS="$LIBS -ltermcap" LIBS="$LIBS -ltermcap"
want_termcap=yes want_termcap=yes
], [ ], [
AC_MSG_WARN(Terminfo/termcap not found) AC_ERROR(Terminfo/termcap not found - install ncurses-devel package)
want_textui=no want_textui=no
curses_error=yes
]))) ])))
fi fi
if test "x$want_termcap" = "xyes"; then if test "x$want_termcap" = "xyes"; then
@ -836,23 +835,16 @@ fi
echo echo
if test "x$curses_error" != "xyes"; then if test "x$want_textui" = "xno"; then
if test "x$want_textui" = "xno"; then text=no
text=no elif test "x$want_termcap" = "xyes"; then
elif test "x$want_termcap" = "xyes"; then text="yes, using termcap"
text="yes, using termcap" elif test "x$want_terminfo" = "xyes"; then
elif test "x$want_terminfo" = "xyes"; then text="yes, using terminfo"
text="yes, using terminfo"
else
text="yes, using curses"
fi
echo "Building text frontend ..... : $text"
else else
echo "Building text frontend ..... : NO!!" text="yes, using curses"
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)"
fi fi
echo "Building text frontend ..... : $text"
echo "Building irssi bot ......... : $want_irssibot" echo "Building irssi bot ......... : $want_irssibot"
echo "Building irssi proxy ....... : $want_irssiproxy" echo "Building irssi proxy ....... : $want_irssiproxy"
echo "Building with IPv6 support . : $want_ipv6" echo "Building with IPv6 support . : $want_ipv6"