mirror of
https://github.com/troglobit/editline.git
synced 2025-11-01 09:25:20 +08:00
Do not assume -ltermcap, check for tgetent() instead
This is a followup patch for issue #8. When the user elects to enable Termcap checks for window resizing we need to check what library on the system provides this functionality. Do not assume -ltermcap, but instead check for tgetent() in all possible libraries. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -4,8 +4,3 @@ noinst_PROGRAMS = testit cli
|
||||
LDADD = $(top_builddir)/src/libeditline.la
|
||||
AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include
|
||||
AM_LDFLAGS = -static
|
||||
|
||||
if USE_LIBTERMCAP
|
||||
LDADD += -ltermcap
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user