Changeset 3166 for libcaca/trunk


Ignore:
Timestamp:
Oct 31, 2008, 6:46:38 PM (12 years ago)
Author:
nico
Message:
  • Add information about gd resources support in caca-php for phpinfo()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-php/php_caca.c

    r3156 r3166  
    183183        php_info_print_table_start();
    184184        php_info_print_table_row(2, "Caca library version", caca_get_version());
     185#ifdef HAVE_GD
     186        php_info_print_table_row(2, "Compiled with gd support", "YES");
     187        php_info_print_table_row(2, "Gd API version", GD_VERSION_STRING);
     188#else
     189        php_info_print_table_row(2, "Compiled with gd support", "NO");
     190#endif
    185191        php_info_print_table_end();
    186192}
Note: See TracChangeset for help on using the changeset viewer.