Remove unused libterminfo detection code.

The detection code is unused even on OpenBSD 5.7,
because of the standard installation is libtermcap be installed, not libterminfo.

This fixes #2829

Tested on Arch Linux (x86_64) & OpenBSD 5.7 (amd64).

Signed-off-by: Huei-Horng Yo <hiroshi@ghostsinthelab.org>
This commit is contained in:
Huei-Horng Yo
2015-06-10 12:40:18 +08:00
parent be2c156876
commit 2f4f36b334
-2
View File
@@ -10,8 +10,6 @@ MRuby::Gem::Specification.new('mruby-bin-mirb') do |spec|
if spec.build.cc.search_header_path 'termcap.h'
if MRUBY_BUILD_HOST_IS_CYGWIN then
spec.linker.libraries << 'ncurses'
elsif spec.linker.has_library('libterminfo') then
spec.linker.libraries << 'terminfo'
else
spec.linker.libraries << 'termcap'
end