Find ncurses from pkg-config if possible, and prefer separate libtinfo
Recent ncurses can be configured --with-termlib, which splits out the terminfo-level functions from libncurses into a separate libtinfo. This allows us to avoid an unnecessary dependency on libncurses. (We already avoided this on distributions that link with -Wl,--as-needed.) Signed-off-by: Anders Kaseorg <andersk@mit.edu> Closes #128 github pull request.
This commit is contained in:
committed by
Keith Winstein
parent
fd0ddf0e22
commit
9cec566cd1
@@ -1,4 +1,4 @@
|
||||
AM_CPPFLAGS = -I$(srcdir)/../util $(BOOST_CPPFLAGS)
|
||||
AM_CPPFLAGS = -I$(srcdir)/../util $(BOOST_CPPFLAGS) $(TINFO_CFLAGS)
|
||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(PICKY_CXXFLAGS) -fno-default-inline -pipe
|
||||
|
||||
noinst_LIBRARIES = libmoshterminal.a
|
||||
|
||||
Reference in New Issue
Block a user