2005-11-17 22:42:00 +00:00
|
|
|
dnl $Id$
|
2005-11-19 17:47:22 +00:00
|
|
|
dnl config.m4 for extension reflection
|
2005-11-17 22:42:00 +00:00
|
|
|
|
|
|
|
PHP_ARG_ENABLE(reflection, whether to enable reflection support,
|
2005-12-03 01:12:35 +00:00
|
|
|
[ --disable-reflection Disable reflection support], yes, no)
|
2005-11-17 22:42:00 +00:00
|
|
|
|
|
|
|
if test "$PHP_REFLECTION" != "no"; then
|
|
|
|
if test "$ext_shared" = "yes"; then
|
2005-11-17 22:49:03 +00:00
|
|
|
AC_MSG_ERROR(Cannot build reflection as a shared module)
|
2005-11-17 22:42:00 +00:00
|
|
|
fi
|
2005-11-17 23:21:15 +00:00
|
|
|
AC_DEFINE(HAVE_REFLECTION, 1, [Whether Reflection is enabled])
|
2005-11-17 22:42:00 +00:00
|
|
|
PHP_NEW_EXTENSION(reflection, php_reflection.c)
|
|
|
|
fi
|