version 1.1.1.1, 2012/02/21 23:48:00
|
version 1.1.1.2, 2012/05/29 12:34:42
|
Line 60 if test "$PHP_READLINE" && test "$PHP_READLINE" != "no
|
Line 60 if test "$PHP_READLINE" && test "$PHP_READLINE" != "no
|
-L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS |
-L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS |
]) |
]) |
|
|
|
PHP_CHECK_LIBRARY(edit, rl_on_new_line, |
|
[ |
|
AC_DEFINE(HAVE_RL_ON_NEW_LINE, 1, [ ]) |
|
],[],[ |
|
-L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS |
|
]) |
|
|
AC_DEFINE(HAVE_LIBREADLINE, 1, [ ]) |
AC_DEFINE(HAVE_LIBREADLINE, 1, [ ]) |
|
|
elif test "$PHP_LIBEDIT" != "no"; then |
elif test "$PHP_LIBEDIT" != "no"; then |
Line 93 elif test "$PHP_LIBEDIT" != "no"; then
|
Line 100 elif test "$PHP_LIBEDIT" != "no"; then
|
-L$READLINE_DIR/$PHP_LIBDIR |
-L$READLINE_DIR/$PHP_LIBDIR |
]) |
]) |
|
|
|
PHP_CHECK_LIBRARY(edit, rl_callback_read_char, |
|
[ |
|
AC_DEFINE(HAVE_RL_CALLBACK_READ_CHAR, 1, [ ]) |
|
],[],[ |
|
-L$READLINE_DIR/$PHP_LIBDIR |
|
]) |
|
|
|
PHP_CHECK_LIBRARY(edit, rl_on_new_line, |
|
[ |
|
AC_DEFINE(HAVE_RL_ON_NEW_LINE, 1, [ ]) |
|
],[],[ |
|
-L$READLINE_DIR/$PHP_LIBDIR |
|
]) |
|
|
AC_DEFINE(HAVE_LIBEDIT, 1, [ ]) |
AC_DEFINE(HAVE_LIBEDIT, 1, [ ]) |
fi |
fi |
|
|
if test "$PHP_READLINE" != "no" || test "$PHP_LIBEDIT" != "no"; then |
if test "$PHP_READLINE" != "no" || test "$PHP_LIBEDIT" != "no"; then |
AC_CHECK_FUNCS([rl_completion_matches]) |
AC_CHECK_FUNCS([rl_completion_matches]) |
PHP_NEW_EXTENSION(readline, readline.c, $ext_shared, cli) | PHP_NEW_EXTENSION(readline, readline.c readline_cli.c, $ext_shared, cli) |
PHP_SUBST(READLINE_SHARED_LIBADD) |
PHP_SUBST(READLINE_SHARED_LIBADD) |
fi |
fi |