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
|
|
|
|
2001-03-27 20:35:04 +00:00
|
|
|
PHP_ADD_INCLUDE($ICAP_DIR)
|
2000-05-02 04:01:15 +00:00
|
|
|
PHP_SUBST(ICAP_SHARED_LIBADD)
|
2001-03-27 20:35:04 +00:00
|
|
|
PHP_ADD_LIBRARY_WITH_PATH(icap, $ICAP_DIR, ICAP_SHARED_LIBADD)
|
2000-05-02 02:01:13 +00:00
|
|
|
AC_DEFINE(HAVE_ICAP,1,[ ])
|
2002-03-12 16:44:00 +00:00
|
|
|
PHP_NEW_EXTENSION(icap, php_icap.c, $ext_shared)
|
2000-05-02 02:01:13 +00:00
|
|
|
fi
|