Project

General

Profile

Bug #11553 ยป Disable-by-default-the-dtrace-support-on-Linux-syste.patch

Patch that disables by default DTrace support on Linux systems. - clopez (Carlos Alberto Lopez Perez), 09/26/2015 04:17 PM

View differences:

configure.in
AC_ARG_ENABLE(dtrace,
AS_HELP_STRING([--enable-dtrace],
[enable DTrace for tracing inside ruby. enabled by default on systems having dtrace]),
[enable DTrace for tracing inside ruby. Enabled by default on non-Linux systems having dtrace]),
[enable_dtrace=$enableval], [enable_dtrace=auto])
if test "${enable_dtrace}" = "auto"; then
if test x"$DTRACE" != x -a x"$cross_compiling" != xyes; then
if test x"$DTRACE" != x -a x"$cross_compiling" != xyes -a x"$target_os" != "xlinux"; then
RUBY_DTRACE_AVAILABLE()
enable_dtrace=$rb_cv_dtrace_available
else
    (1-1/1)