mirror of
https://github.com/php/php-src.git
synced 2024-10-14 21:12:35 +00:00
8a26918ed1
# Heads up people! I tested this before committing but you never know..
16 lines
401 B
Plaintext
16 lines
401 B
Plaintext
dnl $Id$
|
|
|
|
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
|
|
|
|
PHP_ADD_INCLUDE($ICAP_DIR)
|
|
PHP_SUBST(ICAP_SHARED_LIBADD)
|
|
PHP_ADD_LIBRARY_WITH_PATH(icap, $ICAP_DIR, ICAP_SHARED_LIBADD)
|
|
AC_DEFINE(HAVE_ICAP,1,[ ])
|
|
PHP_EXTENSION(icap, $ext_shared)
|
|
fi
|