that readline must depend on libcurses, but it seems more recent ones use libtermcap instead. Allow that case.