mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Added support for using terminfo/termcap instead of curses. By default,
configure chooses to use ncurses if found, of terminfo if only curses was found. --with-terminfo parameter can be used to specify if you want it or not. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1924 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
8567481fd0
commit
2ba339a26b
30 changed files with 2662 additions and 268 deletions
|
|
@ -19,9 +19,27 @@ irssi_LDADD = \
|
|||
@COMMON_LIBS@ \
|
||||
@PERL_LINK_LIBS@ \
|
||||
@PERL_FE_LINK_LIBS@ \
|
||||
@PERL_LINK_FLAGS@ \
|
||||
$(PROG_LIBS) \
|
||||
$(CURSES_LIBS)
|
||||
@PERL_LINK_FLAGS@
|
||||
|
||||
tparm_sources = \
|
||||
tparm.c
|
||||
|
||||
terminfo_sources = \
|
||||
term-terminfo.c \
|
||||
terminfo-core.c
|
||||
|
||||
curses_sources = \
|
||||
term-curses.c
|
||||
|
||||
if NEED_TPARM
|
||||
use_tparm_sources = $(tparm_sources)
|
||||
endif
|
||||
|
||||
if USE_CURSES
|
||||
use_term_sources = $(curses_sources)
|
||||
else
|
||||
use_term_sources = $(terminfo_sources)
|
||||
endif
|
||||
|
||||
irssi_SOURCES = \
|
||||
gui-entry.c \
|
||||
|
|
@ -33,10 +51,12 @@ irssi_SOURCES = \
|
|||
mainwindows.c \
|
||||
mainwindow-activity.c \
|
||||
mainwindows-layout.c \
|
||||
screen.c \
|
||||
statusbar.c \
|
||||
statusbar-config.c \
|
||||
statusbar-items.c \
|
||||
term.c \
|
||||
$(use_tparm_sources) \
|
||||
$(use_term_sources) \
|
||||
textbuffer.c \
|
||||
textbuffer-commands.c \
|
||||
textbuffer-reformat.c \
|
||||
|
|
@ -50,12 +70,18 @@ noinst_HEADERS = \
|
|||
gui-readline.h \
|
||||
gui-windows.h \
|
||||
mainwindows.h \
|
||||
screen.h \
|
||||
statusbar.h \
|
||||
statusbar-config.h \
|
||||
statusbar-items.h \
|
||||
term.h \
|
||||
terminfo-core.h \
|
||||
textbuffer.h \
|
||||
textbuffer-view.h \
|
||||
textbuffer-reformat.h \
|
||||
module.h \
|
||||
module-formats.h
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(tparm_sources) \
|
||||
$(terminfo_sources) \
|
||||
$(curses_sources)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue