Bug #11553 ยป Disable-by-default-the-dtrace-support-on-Linux-syste.patch
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
|