mirror of
https://github.com/troglobit/editline.git
synced 2025-09-23 15:18:09 +08:00

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>