Last change
on this file since 3288 was
3171,
checked in by nico, 12 years ago
|
- Clean template for phpize "config.m4"
|
File size:
525 bytes
|
Rev | Line | |
---|
[3089] | 1 | PHP_ARG_ENABLE(caca, whether to enable Libcaca support, |
---|
| 2 | [ --enable-caca Enable Libcaca support]) |
---|
| 3 | |
---|
| 4 | if test "$PHP_CACA" = "yes"; then |
---|
| 5 | AC_CHECK_LIB(caca, caca_get_version, [ |
---|
| 6 | PHP_ADD_LIBRARY(caca,, CACA_SHARED_LIBADD) |
---|
| 7 | ], [ |
---|
[3119] | 8 | AC_MSG_ERROR(libcaca development files required !) |
---|
[3089] | 9 | ]) |
---|
[3119] | 10 | |
---|
[3154] | 11 | AC_CHECK_LIB(gd, gdImageSetPixel, [ |
---|
[3171] | 12 | dnl PHP_ADD_LIBRARY(gd,, CACA_SHARED_LIBADD) |
---|
[3153] | 13 | AC_DEFINE(HAVE_GD, 1, [Wheter you have development files of gd]) |
---|
[3119] | 14 | ]) |
---|
| 15 | |
---|
[3089] | 16 | PHP_NEW_EXTENSION(caca, php_caca.c, $ext_shared,,) |
---|
| 17 | PHP_SUBST(CACA_SHARED_LIBADD) |
---|
| 18 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.