--- extconf.rb.orig	2009-06-26 08:01:24.000000000 +1000
+++ extconf.rb	2010-12-19 20:08:48.000000000 +1100
@@ -28,6 +28,8 @@
 have_header("unistd.h")
 have_header("locale.h")
 
+dir_config("ncurses")
+
 if have_header("ncurses.h")
   curses_header = "ncurses.h"
 elsif have_header("ncurses/curses.h")
