You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 regels
525 B

  1. PHP_ARG_ENABLE(caca, whether to enable Libcaca support,
  2. [ --enable-caca Enable Libcaca support])
  3. if test "$PHP_CACA" = "yes"; then
  4. AC_CHECK_LIB(caca, caca_get_version, [
  5. PHP_ADD_LIBRARY(caca,, CACA_SHARED_LIBADD)
  6. ], [
  7. AC_MSG_ERROR(libcaca development files required !)
  8. ])
  9. AC_CHECK_LIB(gd, gdImageSetPixel, [
  10. dnl PHP_ADD_LIBRARY(gd,, CACA_SHARED_LIBADD)
  11. AC_DEFINE(HAVE_GD, 1, [Wheter you have development files of gd])
  12. ])
  13. PHP_NEW_EXTENSION(caca, php_caca.c, $ext_shared,,)
  14. PHP_SUBST(CACA_SHARED_LIBADD)
  15. fi