mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Autotools: Move HAVE_DTRACE to configure.ac (#15160)
Following32210ce967
and9ea290b72b
, 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:
parent
4d46f26327
commit
49a08d5ca3
2 changed files with 5 additions and 4 deletions
|
@ -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],,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue