File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 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
3030 AS_CASE ( [ $with_readline] ,
3131 [ shared,*|shared] ,[ AC_MSG_RESULT ( [ disabled (depends on static ext/readline)] ) ] ,[
3232 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"
3435 ] )
3536 elif test -n "$with_libedit" && test "$with_libedit" != "no"; then
3637 AS_CASE ( [ $with_libedit] ,
3738 [ shared,*|shared] ,[ AC_MSG_RESULT ( [ disabled (depends on static ext/readline)] ) ] ,[
3839 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"
4043 ] )
4144 else
4245 AC_MSG_RESULT ( [ disabled (depends on static ext/readline)] )
You can’t perform that action at this time.
0 commit comments