From 95aff214687a5e12c3eb57d056665741e734c188 Mon Sep 17 00:00:00 2001 From: TAKANO Mitsuhiro Date: Fri, 25 Dec 2020 12:06:46 +0900 Subject: [PATCH] Disable DTrace in FreeBSD (#3999) The latest ruby cannot compile with FreeBSD Dtrace enabled. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index ebbe24a768..c143c23d3a 100644 --- a/configure.ac +++ b/configure.ac @@ -3422,6 +3422,9 @@ AS_CASE(["${enable_dtrace}"], ], [ 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 -z "$DTRACE"], [dnl AC_MSG_ERROR([dtrace(1) is missing])