php-src/ext/mcal/config.m4

19 lines
422 B
Plaintext
Raw Normal View History

1999-09-01 20:30:27 +00:00
dnl $Id$
2000-05-02 04:00:47 +00:00
PHP_ARG_WITH(mcal,for MCAL support,
[ --with-mcal[=DIR] Include MCAL support.])
if test "$PHP_MCAL" != "no"; then
if test "$PHP_MCAL" = "yes"; then
MCAL_DIR=/usr/local
1999-09-01 20:30:27 +00:00
else
2000-05-02 04:00:47 +00:00
MCAL_DIR=$PHP_MCAL
1999-09-01 20:30:27 +00:00
fi
2000-05-02 04:00:47 +00:00
AC_ADD_INCLUDE($MCAL_DIR)
AC_ADD_LIBRARY_WITH_PATH(mcal, $MCAL_DIR, MCAL_SHARED_LIBADD)
PHP_SUBST(MCAL_SHARED_LIBADD)
AC_DEFINE(HAVE_MCAL,1,[ ])
PHP_EXTENSION(mcal,$ext_shared)
fi