Skip to content

Conversation

@laomaiweng
Copy link
Contributor

Building fails on systems with split ncurses/tinfo libraries with the following error:

ld: ConWin.o: undefined reference to symbol 'cbreak'

Indeed, in such setups cbreak is not defined in libncurses but in libtinfo.
This should be detected and handled in configure.ac.

* Replace AC_CHECK_LIB macros with AC_SEARCH_LIBS
  (https://autotools.io/autoconf/finding.html)
* Add search for `cbreak` in either libncurses or libtinfo
@madsen madsen merged commit 0e742d5 into madsen:master Sep 11, 2017
madsen added a commit that referenced this pull request Sep 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants