mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
cf5a5fb1dd
Defaulting to 1.
26 lines
473 B
Plaintext
26 lines
473 B
Plaintext
dnl $Id$
|
|
|
|
AC_MSG_CHECKING(for ICAP support)
|
|
AC_ARG_WITH(icap,
|
|
[ --with-icap[=DIR] Include ICAP support.],
|
|
[
|
|
if test "$withval" != "no"; then
|
|
if test "$withval" = "yes"; then
|
|
ICAP_DIR=/usr/local
|
|
else
|
|
ICAP_DIR=$withval
|
|
fi
|
|
|
|
AC_ADD_INCLUDE($ICAP_DIR)
|
|
AC_ADD_LIBRARY_WITH_PATH(icap, $ICAP_DIR)
|
|
AC_DEFINE(HAVE_ICAP,1,[ ])
|
|
PHP_EXTENSION(icap)
|
|
AC_MSG_RESULT(yes)
|
|
else
|
|
AC_MSG_ERROR(no)
|
|
fi
|
|
],[
|
|
AC_MSG_RESULT(no)
|
|
])
|
|
|