From 36751953d49adc0dbc907a68747658c0e2372653 Mon Sep 17 00:00:00 2001 From: jim winstead Date: Sat, 20 Apr 2002 18:02:14 +0000 Subject: [PATCH] include the checks for various support libraries to --with-gd=php section. the libgd stuff needs some additional checks to handle the presence/absence of things like libpng, but this helps when most things are included. --- ext/gd/config.m4 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index 248b8f21b9..f0026e766a 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -217,6 +217,16 @@ if test "$PHP_GD" = "php"; then libgd/wbmp.c libgd/gd_wbmp.c libgd/gdhelpers.c libgd/gd_topal.c" PHP_NEW_EXTENSION(gd, gd.c gdcache.c gdttf.c gdt1.c $sources, $ext_shared,,-I@ext_srcdir@/libgd) PHP_ADD_BUILD_DIR($ext_builddir/libgd) + +dnl Various checks for GD features + PHP_GD_TTSTR + PHP_GD_JPEG + PHP_GD_PNG + PHP_GD_XPM + PHP_GD_FREETYPE2 + PHP_GD_FREETYPE1 + PHP_GD_T1LIB + else if test "$PHP_GD" != "no"; then -- 2.40.0