]> granicus.if.org Git - php/commitdiff
include the checks for various support libraries to --with-gd=php section. the
authorjim winstead <jimw@php.net>
Sat, 20 Apr 2002 18:02:14 +0000 (18:02 +0000)
committerjim winstead <jimw@php.net>
Sat, 20 Apr 2002 18:02:14 +0000 (18:02 +0000)
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

index 248b8f21b9d9ee35b9a3d94b6afd7d5e4657090c..f0026e766a7324eee12a212e8f6b113533f07947 100644 (file)
@@ -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