Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build on systems with split ncurses/tinfo libraries #6

Merged
merged 2 commits into from
Sep 11, 2017

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