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:
Peter Kokot 2024-03-08 19:35:44 +01:00 committed by GitHub
parent ba8633a9ce
commit 7bca3c7f45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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])