summaryrefslogtreecommitdiffstats
path: root/ext/curses
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-31 17:48:33 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-31 17:48:33 +0000
commit7a5c1959a20462192a92654870b5fccd0718bee8 (patch)
treed373966a25b6cfce9497b4afdc7ecdf39b930d1f /ext/curses
parent4f459fd24aa2bc2e8bc4d6523f0856bd1b10c131 (diff)
downloadruby-7a5c1959a20462192a92654870b5fccd0718bee8.tar.gz
ruby-7a5c1959a20462192a92654870b5fccd0718bee8.tar.xz
ruby-7a5c1959a20462192a92654870b5fccd0718bee8.zip
* ext/curses/extconf.rb: add dir_config.
* Makefile.in (fake.rb): set RUBY_VERSION. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/curses')
-rw-r--r--ext/curses/extconf.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/curses/extconf.rb b/ext/curses/extconf.rb
index 075a14793..ef83af707 100644
--- a/ext/curses/extconf.rb
+++ b/ext/curses/extconf.rb
@@ -1,8 +1,8 @@
require 'mkmf'
-if( ! $CPPFLAGS )
- $CPPFLAGS = ""
-end
+dir_config('curses')
+dir_config('ncurses')
+dir_config('termcap')
make=false
have_library("mytinfo", "tgetent") if /bow/ =~ RUBY_PLATFORM