diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-08-13 05:37:52 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-08-13 05:37:52 +0000 |
| commit | 29b7d942bfe9a92b5c3124e235fa54b5de31dccf (patch) | |
| tree | 3ea2e607f9ea08c56830ef7b803cd259e3d67c7f /ext/curses/extconf.rb | |
| parent | a2af08da0c33d2dcde870b491f62a8bd0c1c6b81 (diff) | |
| download | ruby-29b7d942bfe9a92b5c3124e235fa54b5de31dccf.tar.gz ruby-29b7d942bfe9a92b5c3124e235fa54b5de31dccf.tar.xz ruby-29b7d942bfe9a92b5c3124e235fa54b5de31dccf.zip | |
remove marshal/gtk/kconv
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/curses/extconf.rb')
| -rw-r--r-- | ext/curses/extconf.rb | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/ext/curses/extconf.rb b/ext/curses/extconf.rb index 442a9424a..e1bf24c43 100644 --- a/ext/curses/extconf.rb +++ b/ext/curses/extconf.rb @@ -1,22 +1,21 @@ require 'mkmf' -$CFLAGS="-I/usr/include/ncurses -I/usr/local/include/ncurses" -$LDFLAGS="-L/usr/local/lib" -make=FALSE +make=false have_library("mytinfo", "tgetent") if /bow/ =~ PLATFORM if have_header("ncurses.h") and have_library("ncurses", "initscr") - make=TRUE + make=true elsif have_header("ncurses/curses.h") and have_library("ncurses", "initscr") - make=TRUE + make=true +elsif have_header("curses_colr/curses.h") and have_library("cur_colr", "initscr") + make=true else - $CFLAGS=nil have_library("termcap", "tgetent") if have_library("curses", "initscr") - make=TRUE + make=true end end -if make then +if make for f in %w(isendwin ungetch beep doupdate flash deleteln wdeleteln) have_func(f) end |
