AC_DEFINE(HAVE_GD_GD2, 1, [ ])
AC_DEFINE(HAVE_GD_PNG, 1, [ ])
+ AC_DEFINE(HAVE_GD_BUNDLED, 1, [ ])
+
GDLIB_CFLAGS="-DHAVE_LIBPNG"
dnl Depending which libraries were included to PHP configure,
/* need to use a PHPAPI function here because it is external module in windows */
-#if HAVE_LIBGD20
+#if HAVE_GD_BUNDLED
+ php_info_print_table_row(2, "GD Version", "bundled (2.0 compatible)");
+#elif HAVE_LIBGD20
php_info_print_table_row(2, "GD Version", "2.0 or higher");
#elif HAVE_GDIMAGECOLORRESOLVE
php_info_print_table_row(2, "GD Version", "1.6.2 or higher");