diff options
author | Remi Collet <remi@php.net> | 2019-07-22 09:11:32 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2019-07-22 09:11:32 +0200 |
commit | fff6b18657c26d18a4154d974908101770c7b66d (patch) | |
tree | 78da16a89c4f1746205be6b39b30d3d461a719b6 /ext/gd/config.m4 | |
parent | ef165b4422f4cef60f963833dddffa26fe1b2759 (diff) | |
download | php-git-fff6b18657c26d18a4154d974908101770c7b66d.tar.gz |
improve temporary fix for system libgd
- PHP_GD_PNG needed to set include path for png.h
- PHP_GD_JPEG needed to set include path for jpeglib.h
Diffstat (limited to 'ext/gd/config.m4')
-rw-r--r-- | ext/gd/config.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index 662a9c8c2e..8271eb27b1 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -177,7 +177,13 @@ dnl Various checks for GD features ], [ $GD_SHARED_LIBADD ], [char foobar () {}]) else + dnl for png.h in gd_compat (PNG_LIBPNG_VER_STRING) + PHP_GD_PNG + dnl for jpeglib.h in gd_compat (JPEG_LIB_VERSION) + PHP_GD_JPEG + dnl for X11/xpm.h in gd.c (XpmLibraryVersion) PHP_GD_XPM + dnl for ft2build.h in gd.c (FREETYPE_MAJOR...) PHP_GD_FREETYPE2 extra_sources="gd_compat.c" |