diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-06-27 13:04:49 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-06-27 13:04:49 +0200 |
commit | 218c18530aa09ac28b9bf16cf34382c28f4589bd (patch) | |
tree | 6ac1fcfe6acb0fdf4b6162ed6f43fe31696be599 /sapi/phpdbg/phpdbg_utils.c | |
parent | e7446c1b2d6ea06c9f862ec531a0ced9c1ec5b9f (diff) | |
download | php-git-218c18530aa09ac28b9bf16cf34382c28f4589bd.tar.gz |
Show actual enchant version if possible
As of libenchant 1.6.0 there is enchant_get_version()[1], so we use it,
if available, to show the actual enchant version in the PHP info. We
also drop the fake ENCHANT_VERSION_STRING altogether, but stick with
showing version 1.5.x if at least HAVE_ENCHANT_BROKER_SET_PARAM is
defined.
Future scope: we may consider requiring enchant 1.6.0 (or later), since
this has been released in April 2010, and likely is available
everywhere.
[1] <https://www.abisource.com/projects/enchant/>
Diffstat (limited to 'sapi/phpdbg/phpdbg_utils.c')
0 files changed, 0 insertions, 0 deletions