php-src/ext/icap/config.m4

18 lines
425 B
Plaintext
Raw Normal View History

2001-11-30 19:00:13 +00:00
dnl
1999-08-09 21:34:52 +00:00
dnl $Id$
2001-11-30 19:00:13 +00:00
dnl
1999-08-09 21:34:52 +00:00
2000-05-02 02:01:13 +00:00
PHP_ARG_WITH(icap,for ICAP support,
[ --with-icap[=DIR] Include ICAP support.])
if test "$PHP_ICAP" != "no"; then
ICAP_DIR=$PHP_ICAP
test "$ICAP_DIR" = "yes" && ICAP_DIR=/usr/local
1999-08-09 22:02:42 +00:00
PHP_ADD_INCLUDE($ICAP_DIR)
PHP_SUBST(ICAP_SHARED_LIBADD)
PHP_ADD_LIBRARY_WITH_PATH(icap, $ICAP_DIR, ICAP_SHARED_LIBADD)
2000-05-02 02:01:13 +00:00
AC_DEFINE(HAVE_ICAP,1,[ ])
PHP_NEW_EXTENSION(icap, php_icap.c, $ext_shared)
2000-05-02 02:01:13 +00:00
fi