@@ -25,28 +25,26 @@ if test "$PHP_READLINE" != "no"; then
25
25
26
26
PHP_CHECK_LIBRARY([ edit] , [ rl_callback_read_char] ,
27
27
[ 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.] ) ] ,
30
29
[ ] ,
31
30
[ $READLINE_SHARED_LIBADD] )
32
31
33
32
PHP_CHECK_LIBRARY([ edit] , [ rl_on_new_line] ,
34
33
[ 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.] ) ] ,
37
35
[ ] ,
38
36
[ $READLINE_SHARED_LIBADD] )
39
37
40
38
PHP_CHECK_LIBRARY([ edit] , [ rl_completion_matches] ,
41
39
[ 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'
43
41
function.] ) ] ,
44
42
[ ] ,
45
43
[ $READLINE_SHARED_LIBADD] )
46
44
47
45
PHP_CHECK_LIBRARY([ edit] , [ history_list] ,
48
46
[ 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.] ) ] ,
50
48
[ ] ,
51
49
[ $READLINE_SHARED_LIBADD] )
52
50
@@ -56,13 +54,13 @@ if test "$PHP_READLINE" != "no"; then
56
54
LIBS="$LIBS $EDIT_LIBS"
57
55
AC_CHECK_DECL ( [ rl_erase_empty_line] ,
58
56
[ 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.] ) ] ,,
61
59
[ #include <editline/readline.h>] )
62
60
CFLAGS=$CFLAGS_SAVE
63
61
LIBS=$LIBS_SAVE
64
62
65
- dnl Add -Wno-strict-prototypes as depends on user libs
63
+ dnl Add -Wno-strict-prototypes as depends on user libs
66
64
PHP_NEW_EXTENSION([ readline] ,
67
65
[ readline.c readline_cli.c] ,
68
66
[ $ext_shared] ,
0 commit comments