1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Disable DTrace in FreeBSD (#3999)

The latest ruby cannot compile with FreeBSD Dtrace enabled.
This commit is contained in:
TAKANO Mitsuhiro 2020-12-25 12:06:46 +09:00 committed by NARUSE, Yui
parent 312171907c
commit 95aff21468

View file

@ -3422,6 +3422,9 @@ AS_CASE(["${enable_dtrace}"],
], [ ], [
rb_cv_dtrace_available=no rb_cv_dtrace_available=no
]) ])
AS_CASE(["$target_os"],[freebsd*],[
rb_cv_dtrace_available=no
])
AS_IF([test "${enable_dtrace}" = yes], [dnl AS_IF([test "${enable_dtrace}" = yes], [dnl
AS_IF([test -z "$DTRACE"], [dnl AS_IF([test -z "$DTRACE"], [dnl
AC_MSG_ERROR([dtrace(1) is missing]) AC_MSG_ERROR([dtrace(1) is missing])