summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTAKANO Mitsuhiro <takano32@gmail.com>2020-12-25 12:06:46 +0900
committerNARUSE, Yui <naruse@airemix.jp>2020-12-25 12:33:01 +0900
commit95aff214687a5e12c3eb57d056665741e734c188 (patch)
tree1094857206273c6e6fb3fac2eb121b3e3379d02a
parent312171907c678837f7b687aff0c8b4e2652df83c (diff)
Disable DTrace in FreeBSD (#3999)v3_0_0
The latest ruby cannot compile with FreeBSD Dtrace enabled.
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ebbe24a7681..c143c23d3a3 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])