Lines Matching refs:readline
2 [for libedit readline replacement],
4 [Include libedit readline replacement (CLI/CGI only)])])
7 PHP_ARG_WITH([readline],
8 [for readline support],
9 [AS_HELP_STRING([[--with-readline[=DIR]]],
10 [Include readline support (CLI/CGI only)])])
12 dnl "register" the --with-readline option to prevent invalid "unknown
19 AS_IF([test -f $i/include/readline/readline.h], [READLINE_DIR=$i; break;])
23 [AC_MSG_ERROR([Please reinstall readline - I cannot find readline.h])])
38 PHP_CHECK_LIBRARY([readline], [readline],
39 [PHP_ADD_LIBRARY_WITH_PATH([readline],
42 [AC_MSG_FAILURE([The readline library not found.])],
45 PHP_CHECK_LIBRARY([readline], [rl_callback_read_char],
50 PHP_CHECK_LIBRARY([readline], [rl_on_new_line],
55 PHP_CHECK_LIBRARY([readline], [rl_completion_matches],
67 dnl Sanity and minimum version check if readline library has variable
70 Invalid readline installation detected. Try --with-libedit instead.
73 #include <readline/readline.h>
79 #include <readline/readline.h>
87 [Define to 1 if readline extension uses the 'readline' library.])
107 PHP_CHECK_LIBRARY([edit], [readline],
109 [AC_MSG_FAILURE([The edit library required by readline extension not found.])],
114 [Define to 1 if edit/readline library has the 'rl_callback_read_char'
121 [Define to 1 if edit/readline library has the 'rl_on_new_line'
128 [Define to 1 if edit/readline library has the 'rl_completion_matches'
135 [Define to 1 if edit/readline library has the 'history_list' function.])],
145 [Define to 1 if edit/readline library has the 'rl_erase_empty_line'
147 [#include <editline/readline.h>])
152 [Define to 1 if readline extension uses the 'libedit' library.])
157 PHP_NEW_EXTENSION([readline],
158 [readline.c readline_cli.c],