diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2014-06-29 11:26:03 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2014-06-29 11:26:03 +0200 |
commit | 219beac36b9e421fd9a4920f214e9c63747eaafb (patch) | |
tree | 00419a74724c1b96fa98dea5caa5bf7c577271ea /phpdbg_prompt.c | |
parent | 858b45d4ad86a9d1ec857e20cf8c8e33c15500c0 (diff) | |
download | php-git-219beac36b9e421fd9a4920f214e9c63747eaafb.tar.gz |
Fix readline/libedit (Thanks to @remicollet)
Diffstat (limited to 'phpdbg_prompt.c')
-rw-r--r-- | phpdbg_prompt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 5379e77586..d91ef3f3f5 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -732,6 +732,11 @@ PHPDBG_COMMAND(print) /* {{{ */ #else phpdbg_writeln("Readline\tno"); #endif +#ifdef HAVE_LIBEDIT + phpdbg_writeln("Libedit\t\tyes"); +#else + phpdbg_writeln("Libedit\t\tno"); +#endif phpdbg_writeln("Exec\t\t%s", PHPDBG_G(exec) ? PHPDBG_G(exec) : "none"); phpdbg_writeln("Compiled\t%s", PHPDBG_G(ops) ? "yes" : "no"); |