source: libpipi/trunk/pipi-php/config.m4 @ 3090

Last change on this file since 3090 was 3090, checked in by nico, 12 years ago
  • configuration file config.m4 rewritten
File size: 351 bytes
Line 
1PHP_ARG_ENABLE(pipi, whether to enable Libpipi support,
2[ --enable-pipi   Enable Libpipi support])
3
4if test "$PHP_PIPI" = "yes"; then
5        AC_CHECK_LIB(pipi, pipi_get_version, [
6                PHP_ADD_LIBRARY(pipi,, PIPI_SHARED_LIBADD)
7        ], [
8                AC_MSG_ERROR(libpipi required !)
9        ])
10        PHP_NEW_EXTENSION(pipi, php_pipi.c, $ext_shared,,)
11        PHP_SUBST(PIPI_SHARED_LIBADD)
12fi
Note: See TracBrowser for help on using the repository browser.