mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* ext/curses/extconf.rb: updated for tinfo check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									cc4dec0701
								
							
						
					
					
						commit
						c3c3102610
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -6,15 +6,14 @@ dir_config('termcap')
 | 
			
		|||
 | 
			
		||||
make=false
 | 
			
		||||
have_library("mytinfo", "tgetent") if /bow/ =~ RUBY_PLATFORM
 | 
			
		||||
have_library("tinfo", "tgetent") or have_library("termcap", "tgetent")
 | 
			
		||||
if have_header("ncurses.h") and have_library("ncurses", "initscr")
 | 
			
		||||
  make=true
 | 
			
		||||
elsif have_header("ncurses/curses.h") and have_library("ncurses", "initscr") and have_library("tinfo", "tgetent") 
 | 
			
		||||
elsif have_header("ncurses/curses.h") and have_library("ncurses", "initscr")
 | 
			
		||||
  make=true
 | 
			
		||||
elsif have_header("curses_colr/curses.h") and have_library("cur_colr", "initscr")
 | 
			
		||||
  make=true
 | 
			
		||||
else
 | 
			
		||||
  have_library("termcap", "tgetent") 
 | 
			
		||||
  if have_header("curses.h") and have_library("curses", "initscr")
 | 
			
		||||
    make=true
 | 
			
		||||
  end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue