您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

20 行
509 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. 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