rl_outstream on error before closing it. * readline.c: #include "libguile/_scm.h" (so that we get the configuration information) and fix other includes so that they'll work on a system where guile is not yet installed.
readline doesn't exist on the system, so that configuration can proceed normally without readline.