Ignore:
Timestamp:
Oct 27, 2008, 5:23:05 PM (11 years ago)
Author:
nico
Message:
  • Add a function "fetch_external_resource" that allows to fetch external php resources such as gd resouces
  • Add test for presence of gd development files in config.m4
  • Rename php function caca_dither_bitmap in caca_dither_bitmap_gd
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-php/config.m4

    r3089 r3119  
    66                PHP_ADD_LIBRARY(caca,, CACA_SHARED_LIBADD)
    77        ], [
    8                 AC_MSG_ERROR(libcaca required !)
     8                AC_MSG_ERROR(libcaca development files required !)
    99        ])
     10
     11        AC_CHECK_LIB(gd, gdImageSetPixel, [
     12                PHP_ADD_LIBRARY(gd,, CACA_SHARED_LIBADD)
     13        ], [
     14                AC_MSG_ERROR(gd development files required !)
     15        ])
     16
    1017        PHP_NEW_EXTENSION(caca, php_caca.c, $ext_shared,,)
    1118        PHP_SUBST(CACA_SHARED_LIBADD)
Note: See TracChangeset for help on using the changeset viewer.