sqlite3: fix readline
--enable-readline is broken: - it searches for readline.h instead of readline/readline.h - it does not abort when it fails to find headers Use --with-readline-inc so that it sets HAVE_READLINE. Also use the dedicated configure option to enable update limit. And sqlite3 does not depend directly on ncurses.