mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Autotools: Move HAVE_DTRACE to configure.ac (#15160)
Following32210ce967and9ea290b72b, this moves the HAVE_DTRACE preprocessor macro definition back to configure.ac so that PHP_INIT_DTRACE Autoconf macro can be used in extensions without redefinition interference.
This commit is contained in:
@@ -2387,7 +2387,6 @@ EOF
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_DEFINE([HAVE_DTRACE], [1], [Define to 1 if DTrace support is enabled.])
|
||||
PHP_SUBST([PHP_DTRACE_OBJS])
|
||||
])
|
||||
|
||||
|
||||
@@ -1013,15 +1013,17 @@ PHP_ARG_ENABLE([dtrace],
|
||||
[no],
|
||||
[no])
|
||||
|
||||
AS_VAR_IF([PHP_DTRACE], [yes],
|
||||
[PHP_INIT_DTRACE([Zend/zend_dtrace.d], [Zend/zend_dtrace_gen.h], [
|
||||
AS_VAR_IF([PHP_DTRACE], [yes], [
|
||||
PHP_INIT_DTRACE([Zend/zend_dtrace.d], [Zend/zend_dtrace_gen.h], [
|
||||
main/main.c
|
||||
Zend/zend_API.c
|
||||
Zend/zend_dtrace.c
|
||||
Zend/zend_exceptions.c
|
||||
Zend/zend_execute.c
|
||||
Zend/zend.c
|
||||
])])
|
||||
])
|
||||
AC_DEFINE([HAVE_DTRACE], [1], [Define to 1 if DTrace support is enabled.])
|
||||
])
|
||||
|
||||
AC_MSG_CHECKING([how big to make fd sets])
|
||||
PHP_ARG_ENABLE([fd-setsize],,
|
||||
|
||||
Reference in New Issue
Block a user