blob: 27f1be4c6a6581a2893e3b3c0af0fe0fddf11ca7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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
AC_ADD_INCLUDE($ICAP_DIR)
if test "$ext_shared" = "yes"; then
ICAP_SHARED_LIBADD="-R$ICAP_DIR/lib -L$ICAP_DIR/lib -licap"
PHP_SUBST(ICAP_SHARED_LIBADD)
else
AC_ADD_LIBRARY_WITH_PATH(icap, $ICAP_DIR)
fi
AC_DEFINE(HAVE_ICAP,1,[ ])
PHP_EXTENSION(icap, $ext_shared)
fi
|