mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Check sys/sdt.h with AC_CHECK_HEADER (#13626)
When using DTrace, sys/sdt.h is included unconditionally, without the HAVE_SYS_SDT_H symbol.
This commit is contained in:
parent
ba8633a9ce
commit
7bca3c7f45
@ -1039,7 +1039,7 @@ PHP_ARG_ENABLE([dtrace],
|
||||
[no])
|
||||
|
||||
if test "$PHP_DTRACE" = "yes"; then
|
||||
AC_CHECK_HEADERS([sys/sdt.h], [
|
||||
AC_CHECK_HEADER([sys/sdt.h], [
|
||||
PHP_INIT_DTRACE([Zend/zend_dtrace.d],[Zend/zend_dtrace_gen.h],[main/main.c Zend/zend_API.c \
|
||||
Zend/zend_execute.c Zend/zend_exceptions.c \
|
||||
Zend/zend_dtrace.c Zend/zend.c])
|
||||
|
Loading…
Reference in New Issue
Block a user