We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c19b75 commit cef4533Copy full SHA for cef4533
ext/overload/config.m4
@@ -1,16 +1,16 @@
1
dnl
2
dnl $Id$
3
4
+
5
PHP_ARG_ENABLE(overload,whether to enable user-space object overloading support,
6
[ --disable-overload Disable user-space object overloading support.], yes)
7
-
8
if test "$PHP_OVERLOAD" != "no"; then
9
- AC_CHECK_FILE([Zend/zend_objects.h], [
10
- AC_MSG_CHECKING(for overload)
11
- AC_MSG_RESULT(not needed with ZendEngine 2)
12
- ], [
13
- AC_DEFINE(HAVE_OVERLOAD, 1, [ ])
14
- PHP_NEW_EXTENSION(overload, overload.c, $ext_shared)
15
- ])
+ if test -f $php_abs_top_srcdir/Zend/zend_objects.h; then
+ AC_MSG_CHECKING(for overload)
+ AC_MSG_RESULT(not needed with ZendEngine 2)
+ else
+ AC_DEFINE(HAVE_OVERLOAD, 1, [ ])
+ PHP_NEW_EXTENSION(overload, overload.c, $ext_shared)
+ fi
16
fi
0 commit comments