mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
moved ncurses/terminfo/etc. libs away from PROG_LIBS which should be list of
common libraries for all ui frontends.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2899 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
8790f97869
commit
fce48d905b
10
configure.in
10
configure.in
@ -510,7 +510,7 @@ dnl **
|
||||
if test "x$want_textui" = "xyes"; then
|
||||
AC_CHECK_CURSES
|
||||
|
||||
LIBS="$LIBS $CURSES_LIBS"
|
||||
TEXTUI_LIBS="$CURSES_LIBS"
|
||||
if test "x$has_curses" = "xtrue"; then
|
||||
AC_CHECK_FUNC(use_default_colors, AC_DEFINE(HAVE_NCURSES_USE_DEFAULT_COLORS))
|
||||
AC_CHECK_FUNC(idcok, AC_DEFINE(HAVE_CURSES_IDCOK))
|
||||
@ -521,19 +521,21 @@ if test "x$want_textui" = "xyes"; then
|
||||
])
|
||||
else
|
||||
AC_CHECK_LIB(tinfo, setupterm, [
|
||||
LIBS="$LIBS -ltinfo"
|
||||
TEXTUI_LIBS="-ltinfo"
|
||||
want_terminfo=yes
|
||||
], AC_CHECK_LIB(termlib, tgetent, [
|
||||
LIBS="$LIBS -ltermlib"
|
||||
TEXTUI_LIBS="-ltermlib"
|
||||
want_termcap=yes
|
||||
], AC_CHECK_LIB(termcap, tgetent, [
|
||||
LIBS="$LIBS -ltermcap"
|
||||
TEXTUI_LIBS="-ltermcap"
|
||||
want_termcap=yes
|
||||
], [
|
||||
AC_ERROR(Terminfo/termcap not found - install ncurses-devel package)
|
||||
want_textui=no
|
||||
])))
|
||||
fi
|
||||
AC_SUBST(TEXTUI_LIBS)
|
||||
|
||||
if test "x$want_termcap" = "xyes"; then
|
||||
AC_CHECK_FUNC(tparm,, need_tparm=yes)
|
||||
else
|
||||
|
@ -20,7 +20,8 @@ irssi_LDADD = \
|
||||
@PERL_LINK_LIBS@ \
|
||||
@PERL_FE_LINK_LIBS@ \
|
||||
@PERL_LINK_FLAGS@ \
|
||||
@PROG_LIBS@
|
||||
@PROG_LIBS@ \
|
||||
@TEXTUI_LIBS@
|
||||
|
||||
tparm_sources = \
|
||||
tparm.c
|
||||
|
Loading…
Reference in New Issue
Block a user