source: libcaca/trunk/caca-php/config.m4 @ 3107

Last change on this file since 3107 was 3089, checked in by nico, 11 years ago
  • Initial release of caca-php
File size: 351 bytes
Line 
1PHP_ARG_ENABLE(caca, whether to enable Libcaca support,
2[ --enable-caca   Enable Libcaca support])
3
4if test "$PHP_CACA" = "yes"; then
5        AC_CHECK_LIB(caca, caca_get_version, [
6                PHP_ADD_LIBRARY(caca,, CACA_SHARED_LIBADD)
7        ], [
8                AC_MSG_ERROR(libcaca required !)
9        ])
10        PHP_NEW_EXTENSION(caca, php_caca.c, $ext_shared,,)
11        PHP_SUBST(CACA_SHARED_LIBADD)
12fi
Note: See TracBrowser for help on using the repository browser.