Skip to content

Commit 7bca3c7

Browse files
authored
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.
1 parent ba8633a commit 7bca3c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ PHP_ARG_ENABLE([dtrace],
10391039
[no])
10401040

10411041
if test "$PHP_DTRACE" = "yes"; then
1042-
AC_CHECK_HEADERS([sys/sdt.h], [
1042+
AC_CHECK_HEADER([sys/sdt.h], [
10431043
PHP_INIT_DTRACE([Zend/zend_dtrace.d],[Zend/zend_dtrace_gen.h],[main/main.c Zend/zend_API.c \
10441044
Zend/zend_execute.c Zend/zend_exceptions.c \
10451045
Zend/zend_dtrace.c Zend/zend.c])

0 commit comments

Comments
 (0)