17 #ifdef HAVE_LIBREADLINE
18 #define USE_READLINE 1
20 #if defined(HAVE_READLINE_READLINE_H)
21 #include <readline/readline.h>
22 #if defined(HAVE_READLINE_HISTORY_H)
23 #include <readline/history.h>
25 #elif defined(HAVE_EDITLINE_READLINE_H)
26 #include <editline/readline.h>
27 #if defined(HAVE_EDITLINE_HISTORY_H)
28 #include <editline/history.h>
30 #elif defined(HAVE_READLINE_H)
32 #if defined(HAVE_HISTORY_H)
46 extern bool printHistory(
const char *fname,
unsigned short int pager);
static rewind_source * source