com php-src: Remove effectless --enable-gd-native-ttf and USE_GD_IMGSTRTTF: UPGRADING ext/gd/config.m4 ex t/gd/config.w32
| From: | Christoph Michael Becker | Date: | Tue, 13 Sep 2016 23:01:19 +0000 |
| Subject: | com php-src: Remove effectless --enable-gd-native-ttf and USE_GD_IMGSTRTTF: UPGRADING ext/gd/config.m4 ex t/gd/config.w32 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94507@lists.php.net to get a copy of this message | ||
Commit: 494c5dc77ae92d21db915abada2ecefaca620543
Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 14 Sep 2016 00:28:36 +0200
Parents: 6dd4efb70a6aa60c21b0adb016463f0bf8662e24
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=494c5dc77ae92d21db915abada2ecefaca620543
Log:
Remove effectless --enable-gd-native-ttf and USE_GD_IMGSTRTTF
--enable-gd-native-ttf did set USE_GD_IMGSTRTTF, which is otherwise unused
as of commit 8a90aad3 (i.e. PHP 5.5.0), at least.
Changed paths:
M UPGRADING
M ext/gd/config.m4
M ext/gd/config.w32
Diff:
diff --git a/UPGRADING b/UPGRADING
index d15c4c9..75b936e 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -84,6 +84,10 @@ PHP 7.2 UPGRADE NOTES
. Added extended exif tag support for the following formats:
Samsung, DJI, Panasonic, Sony, Pentax, Minolta & Sigma/Foveon.
+- GD:
+ . Removed --enable-gd-native-ttf configuration option which was unused as
+ of PHP 5.5.0 anyway.
+
- Mbstring
. mb_check_encoding() accepts array parameter. Both key and value
ecodings are checked recursively.
diff --git a/ext/gd/config.m4 b/ext/gd/config.m4
index 1864d25..b7aeeaa 100644
--- a/ext/gd/config.m4
+++ b/ext/gd/config.m4
@@ -35,9 +35,6 @@ PHP_ARG_WITH(xpm-dir, for the location of libXpm,
PHP_ARG_WITH(freetype-dir, for FreeType 2,
[ --with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix], no, no)
-PHP_ARG_ENABLE(gd-native-ttf, whether to enable truetype string function in GD,
-[ --enable-gd-native-ttf GD: Enable TrueType string function], no, no)
-
PHP_ARG_ENABLE(gd-jis-conv, whether to enable JIS-mapped Japanese font support in GD,
[ --enable-gd-jis-conv GD: Enable JIS-mapped Japanese font support], no, no)
@@ -206,7 +203,6 @@ AC_DEFUN([PHP_GD_FREETYPE2],[
PHP_EVAL_INCLINE($FREETYPE2_CFLAGS)
PHP_EVAL_LIBLINE($FREETYPE2_LIBS, GD_SHARED_LIBADD)
- AC_DEFINE(USE_GD_IMGSTRTTF, 1, [ ])
AC_DEFINE(HAVE_LIBFREETYPE,1,[ ])
AC_DEFINE(ENABLE_GD_TTF,1,[ ])
else
@@ -214,12 +210,6 @@ AC_DEFUN([PHP_GD_FREETYPE2],[
fi
])
-AC_DEFUN([PHP_GD_TTSTR],[
- if test "$PHP_GD_NATIVE_TTF" = "yes"; then
- AC_DEFINE(USE_GD_IMGSTRTTF, 1, [ ])
- fi
-])
-
AC_DEFUN([PHP_GD_JISX0208],[
if test "$PHP_GD_JIS_CONV" = "yes"; then
USE_GD_JIS_CONV=1
diff --git a/ext/gd/config.w32 b/ext/gd/config.w32
index 2779a5b..dcef469 100644
--- a/ext/gd/config.w32
+++ b/ext/gd/config.w32
@@ -71,7 +71,6 @@ if (PHP_GD != "no") {
/D HAVE_LIBPNG \
/D HAVE_XPM \
/D HAVE_COLORCLOSESTHWB \
-/D USE_GD_IMGSTRTTF \
/D USE_GD_IOCTX \
/D MSWIN32 \
");