Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The configure script can now use *libedit* instead of *readline* with the
command line option ``--with-readline=editline``.
10 changes: 7 additions & 3 deletions Modules/readline.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@
# define RESTORE_LOCALE(sl)
#endif

#ifdef WITH_EDITLINE
# include <editline/readline.h>
#else
/* GNU readline definitions */
#undef HAVE_CONFIG_H /* Else readline/chardefs.h includes strings.h */
#include <readline/readline.h>
#include <readline/history.h>
# undef HAVE_CONFIG_H /* Else readline/chardefs.h includes strings.h */
# include <readline/readline.h>
# include <readline/history.h>
#endif

#ifdef HAVE_RL_COMPLETION_MATCHES
#define completion_matches(x, y) \
Expand Down
Loading