25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.m4 509 B

12345678910111213141516171819
  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. PHP_ADD_LIBRARY(gd,, CACA_SHARED_LIBADD)
  11. ], [
  12. AC_MSG_ERROR(gd development files required !)
  13. ])
  14. PHP_NEW_EXTENSION(caca, php_caca.c, $ext_shared,,)
  15. PHP_SUBST(CACA_SHARED_LIBADD)
  16. fi