Lines Matching refs:readline
1 dnl config.m4 for extension readline
3 PHP_ARG_WITH(libedit,for libedit readline replacement,
4 [ --with-libedit[=DIR] Include libedit readline replacement (CLI/CGI only)])
7 PHP_ARG_WITH(readline,for readline support,
8 [ --with-readline[=DIR] Include readline support (CLI/CGI only)])
10 dnl "register" the --with-readline option to preven invalid "unknown configure option" warning
16 test -f $i/include/readline/readline.h && READLINE_DIR=$i && break
20 AC_MSG_ERROR(Please reinstall readline - I cannot find readline.h)
38 PHP_CHECK_LIBRARY(readline, readline,
40 PHP_ADD_LIBRARY_WITH_PATH(readline, $READLINE_DIR/$PHP_LIBDIR, READLINE_SHARED_LIBADD)
42 AC_MSG_ERROR(readline library not found)
47 PHP_CHECK_LIBRARY(readline, rl_pending_input,
49 AC_MSG_ERROR([invalid readline installation detected. Try --with-libedit instead.])
54 PHP_CHECK_LIBRARY(readline, rl_callback_read_char,
61 PHP_CHECK_LIBRARY(readline, rl_on_new_line,
68 PHP_CHECK_LIBRARY(readline, rl_completion_matches,
80 test -f $i/include/editline/readline.h && LIBEDIT_DIR=$i && break
84 AC_MSG_ERROR(Please reinstall libedit - I cannot find readline.h)
99 PHP_CHECK_LIBRARY(edit, readline,
103 AC_MSG_ERROR(edit library required by readline not found)
133 PHP_NEW_EXTENSION(readline, readline.c readline_cli.c, $ext_shared, cli)