summaryrefslogtreecommitdiff
path: root/ext/reflection/config.m4
blob: 2f064a4455f014f8f4082ac4ae61bb0d4fe584bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
dnl $Id$
dnl config.m4 for extension bitset

PHP_ARG_ENABLE(reflection, whether to enable reflection support,
[  --disable-reflection      Disable reflection support])

if test "$PHP_REFLECTION" != "no"; then
  if test "$ext_shared" = "yes"; then
    AC_MSG_ERROR(Cannot build reflection as a shared module)
  fi
  AC_DEFINE(HAVE_REFLECTION, 1, [Whether Reflection is enabled])
  PHP_NEW_EXTENSION(reflection, php_reflection.c)
fi