- GD:
. Freetype detection now relies on pkg-config. The --with-freetype-dir option
- has been renamed to --enable-freetype and no longer accepts a directory.
+ has been renamed to --with-freetype and no longer accepts a directory.
Instead pkg-config environment variables can be used to configure custom paths,
see either ./configure --help or follow the instructions in error messages.
. The behavior of imagecropauto() in the bundled libgd has been synced with
PHP_ARG_WITH(xpm-dir, for the location of libXpm,
[ --with-xpm-dir[=DIR] GD: Set the path to libXpm install prefix], no, no)
-PHP_ARG_ENABLE(freetype, for FreeType 2,
-[ --enable-freetype GD: Enable FreeType 2 support], no, no)
+PHP_ARG_WITH(freetype, for FreeType 2,
+[ --with-freetype GD: Enable FreeType 2 support], 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)