File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,16 @@ if test "$PHP_PHPDBG" != "no"; then
30
30
AS_CASE ( [ $with_readline] ,
31
31
[ shared,*|shared] ,[ AC_MSG_RESULT ( [ disabled (depends on static ext/readline)] ) ] ,[
32
32
AC_MSG_RESULT ( [ yes, readline] )
33
- PHP_PHPDBG_CFLAGS="$PHP_PHPDBG_CFLAGS -DHAVE_PHPDBG_READLINE"
33
+ AC_DEFINE ( HAVE_PHPDBG_READLINE , 1 , [ ] )
34
+ PHPDBG_EXTRA_LIBS="$PHP_READLINE_LIBS"
34
35
] )
35
36
elif test -n "$with_libedit" && test "$with_libedit" != "no"; then
36
37
AS_CASE ( [ $with_libedit] ,
37
38
[ shared,*|shared] ,[ AC_MSG_RESULT ( [ disabled (depends on static ext/readline)] ) ] ,[
38
39
AC_MSG_RESULT ( [ yes, libedit] )
39
- PHP_PHPDBG_CFLAGS="$PHP_PHPDBG_CFLAGS -DHAVE_PHPDBG_READLINE"
40
+ AC_DEFINE ( HAVE_PHPDBG_READLINE , 1 , [ ] )
41
+ # TODO: link editline from ext/readline.
42
+ PHPDBG_EXTRA_LIBS="$PHP_READLINE_LIBS"
40
43
] )
41
44
else
42
45
AC_MSG_RESULT ( [ disabled (depends on static ext/readline)] )
You can’t perform that action at this time.
0 commit comments