diff options
Diffstat (limited to 'ext/curses/extconf.rb')
-rw-r--r-- | ext/curses/extconf.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/curses/extconf.rb b/ext/curses/extconf.rb index 94d1e2e549..46fcc8f471 100644 --- a/ext/curses/extconf.rb +++ b/ext/curses/extconf.rb @@ -13,10 +13,8 @@ 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 - if have_header("curses.h") and have_library("curses", "initscr") +elsif have_header("curses.h") and have_library("curses", "initscr") make=true - end end if make |