libgd stuff needs some additional checks to handle the presence/absence of
things like libpng, but this helps when most things are included.
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