@@ -26,10 +26,14 @@ |
|
|
26 |
26 |
# define RESTORE_LOCALE(sl) |
27 |
27 |
#endif |
28 |
28 |
|
|
29 |
+#ifdef WITH_EDITLINE |
|
30 |
+# include <editline/readline.h> |
|
31 |
+#else |
29 |
32 |
/* GNU readline definitions */ |
30 |
|
-#undef HAVE_CONFIG_H /* Else readline/chardefs.h includes strings.h */ |
31 |
|
-#include <readline/readline.h> |
32 |
|
-#include <readline/history.h> |
|
33 |
+# undef HAVE_CONFIG_H /* Else readline/chardefs.h includes strings.h */ |
|
34 |
+# include <readline/readline.h> |
|
35 |
+# include <readline/history.h> |
|
36 |
+#endif |
33 |
37 |
|
34 |
38 |
#ifdef HAVE_RL_COMPLETION_MATCHES |
35 |
39 |
#define completion_matches(x, y) \ |