@@ -25,28 +25,26 @@ if test "$PHP_READLINE" != "no"; then
2525
2626 PHP_CHECK_LIBRARY([ edit] , [ rl_callback_read_char] ,
2727 [ AC_DEFINE ( [ HAVE_RL_CALLBACK_READ_CHAR] , [ 1] ,
28- [ Define to 1 if edit/readline library has the 'rl_callback_read_char'
29- function.] ) ] ,
28+ [ Define to 1 if edit library has the 'rl_callback_read_char' function.] ) ] ,
3029 [ ] ,
3130 [ $READLINE_SHARED_LIBADD] )
3231
3332 PHP_CHECK_LIBRARY([ edit] , [ rl_on_new_line] ,
3433 [ AC_DEFINE ( [ HAVE_RL_ON_NEW_LINE] , [ 1] ,
35- [ Define to 1 if edit/readline library has the 'rl_on_new_line'
36- function.] ) ] ,
34+ [ Define to 1 if edit library has the 'rl_on_new_line' function.] ) ] ,
3735 [ ] ,
3836 [ $READLINE_SHARED_LIBADD] )
3937
4038 PHP_CHECK_LIBRARY([ edit] , [ rl_completion_matches] ,
4139 [ AC_DEFINE ( [ HAVE_RL_COMPLETION_MATCHES] , [ 1] ,
42- [ Define to 1 if edit/readline library has the 'rl_completion_matches'
40+ [ Define to 1 if edit library has the 'rl_completion_matches'
4341 function.] ) ] ,
4442 [ ] ,
4543 [ $READLINE_SHARED_LIBADD] )
4644
4745 PHP_CHECK_LIBRARY([ edit] , [ history_list] ,
4846 [ AC_DEFINE ( [ HAVE_HISTORY_LIST] , [ 1] ,
49- [ Define to 1 if edit/readline library has the 'history_list' function.] ) ] ,
47+ [ Define to 1 if edit library has the 'history_list' function.] ) ] ,
5048 [ ] ,
5149 [ $READLINE_SHARED_LIBADD] )
5250
@@ -56,13 +54,13 @@ if test "$PHP_READLINE" != "no"; then
5654 LIBS="$LIBS $EDIT_LIBS"
5755 AC_CHECK_DECL ( [ rl_erase_empty_line] ,
5856 [ AC_DEFINE ( [ HAVE_ERASE_EMPTY_LINE] , [ 1] ,
59- [ Define to 1 if edit/readline library has the 'rl_erase_empty_line'
60- global variable.] ) ] ,,
57+ [ Define to 1 if edit library has the 'rl_erase_empty_line' global
58+ variable.] ) ] ,,
6159 [ #include <editline/readline.h>] )
6260 CFLAGS=$CFLAGS_SAVE
6361 LIBS=$LIBS_SAVE
6462
65- dnl Add -Wno-strict-prototypes as depends on user libs
63+ dnl Add -Wno-strict-prototypes as depends on user libs
6664 PHP_NEW_EXTENSION([ readline] ,
6765 [ readline.c readline_cli.c] ,
6866 [ $ext_shared] ,
0 commit comments