summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2012-07-22 23:28:32 +0200
committerJohannes Schlüter <johannes@php.net>2012-07-22 23:28:32 +0200
commit860b3ffe75a95f18ff3bf570c49c5004cb70cab1 (patch)
treec1b8dafb26af46cc599cdbbd81fa53e4fba2a493
parent254d299d0768562d60a12af0b05678ec7bff94cb (diff)
downloadphp-git-860b3ffe75a95f18ff3bf570c49c5004cb70cab1.tar.gz
Fix Bug #62612 readline extension compilation fails
-rw-r--r--NEWS4
-rw-r--r--sapi/cli/config.m42
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 8ae6931b6e..883d9102b1 100644
--- a/NEWS
+++ b/NEWS
@@ -24,6 +24,10 @@ PHP NEWS
- MySQLnd:
. Fixed bug #62594 (segfault in mysqlnd_res_meta::set_mode). (Laruence)
+- readline:
+ . Fixed bug #62612 (readline extension compilation fails with
+ sapi/cli/cli.h: No such file). (Johannes)
+
- Reflection:
. Implemented FR #61602 (Allow access to name of constant used as default
value). (reeze.xia@gmail.com)
diff --git a/sapi/cli/config.m4 b/sapi/cli/config.m4
index 77fc5e9551..cdfa1f7daf 100644
--- a/sapi/cli/config.m4
+++ b/sapi/cli/config.m4
@@ -44,5 +44,7 @@ if test "$PHP_CLI" != "no"; then
PHP_SUBST(BUILD_CLI)
PHP_OUTPUT(sapi/cli/php.1)
+
+ PHP_INSTALL_HEADERS([sapi/cli/cli.h])
fi
AC_MSG_RESULT($PHP_CLI)