mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
809198b916
extensions.
26 lines
467 B
Plaintext
26 lines
467 B
Plaintext
dnl $Id$
|
|
|
|
AC_MSG_CHECKING(for MCAL support)
|
|
AC_ARG_WITH(mcal,
|
|
[ --with-mcal[=DIR] Include MCAL support.],
|
|
[
|
|
if test "$withval" != "no"; then
|
|
if test "$withval" = "yes"; then
|
|
MCAL_DIR=/usr/local
|
|
else
|
|
MCAL_DIR=$withval
|
|
fi
|
|
|
|
AC_ADD_INCLUDE($MCAL_DIR)
|
|
AC_ADD_LIBRARY_WITH_PATH(mcal, $MCAL_DIR)
|
|
AC_DEFINE(HAVE_MCAL)
|
|
PHP_EXTENSION(mcal)
|
|
AC_MSG_RESULT(yes)
|
|
else
|
|
AC_MSG_ERROR(no)
|
|
fi
|
|
],[
|
|
AC_MSG_RESULT(no)
|
|
])
|
|
|