AC_DEFUN(PHP_GD_JISX0208,[
if test "$PHP_GD_JIS_CONV" = "yes"; then
- USE_GD_JIS_CONV=1
+ USE_GD_JIS_CONV=1
fi
])
fi
if test -n "$USE_GD_JIS_CONV"; then
+ AC_DEFINE(USE_GD_JISX0208, 1, [ ])
GDLIB_CFLAGS="$GDLIB_CFLAGS -DJISX0208"
fi
#endif
#ifdef HAVE_GD_XBM
php_info_print_table_row(2, "XBM Support", "enabled");
+#endif
+#if defined(USE_GD_JISX0208) && defined(HAVE_GD_BUNDLED)
+ php_info_print_table_row(2, "JIS-mapped Japanese Font Support", "enabled");
#endif
php_info_print_table_end();
}
#else
add_assoc_bool(return_value, "XBM Support", 0);
#endif
+#if defined(USE_GD_JISX0208) && defined(HAVE_GD_BUNDLED)
+ add_assoc_bool(return_value, "JIS-mapped Japanese Font Support", 1);
+#else
+ add_assoc_bool(return_value, "JIS-mapped Japanese Font Support", 0);
+#endif
}
/* }}} */