1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01: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:
Peter Kokot
2024-03-08 19:35:44 +01:00
committed by GitHub
parent ba8633a9ce
commit 7bca3c7f45

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