php-src/ext/icap/config.m4
foobar 8a26918ed1 Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +00:00

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