зеркало из https://github.com/github/ruby.git
* configure.in (--enable-dtrace): change help message
* configure.in (--enable-dtrace): remove ineffective "else AS_CASE ..." because the variable $rb_cv_prog_dtrace_g is normally "yes" on FreeBSD and the AS_CASE is not evaluated on FreeBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
82b2436422
Коммит
029b59ba53
|
@ -1,3 +1,10 @@
|
||||||
|
Mon Nov 19 22:55:48 2012 Naohisa Goto <ngotogenome@gmail.com>
|
||||||
|
|
||||||
|
* configure.in (--enable-dtrace): change help message
|
||||||
|
* configure.in (--enable-dtrace): remove ineffective "else AS_CASE ..."
|
||||||
|
because the variable $rb_cv_prog_dtrace_g is normally "yes" on
|
||||||
|
FreeBSD and the AS_CASE is not evaluated on FreeBSD.
|
||||||
|
|
||||||
Mon Nov 19 21:24:18 2012 Naohisa Goto <ngotogenome@gmail.com>
|
Mon Nov 19 21:24:18 2012 Naohisa Goto <ngotogenome@gmail.com>
|
||||||
|
|
||||||
* vm_dump.c: not to include probes.h because the code does not depend
|
* vm_dump.c: not to include probes.h because the code does not depend
|
||||||
|
|
|
@ -2731,8 +2731,8 @@ fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(dtrace,
|
AC_ARG_ENABLE(dtrace,
|
||||||
AS_HELP_STRING([--enable-dtrace],
|
AS_HELP_STRING([--enable-dtrace],
|
||||||
[enable DTrace for tracing ruby's internal.]),
|
[enable DTrace for tracing ruby's internal. enabled by default on systems having dtrace]),
|
||||||
[enable_dtrace=$enableval], [enable_dtrace=auto])
|
[enable_dtrace=$enableval], [enable_dtrace=auto])
|
||||||
|
|
||||||
if test "${enable_dtrace}" = "auto"; then
|
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; then
|
||||||
|
@ -2740,10 +2740,6 @@ if test "${enable_dtrace}" = "auto"; then
|
||||||
enable_dtrace=yes
|
enable_dtrace=yes
|
||||||
if test "$rb_cv_prog_dtrace_g" = 'yes'; then
|
if test "$rb_cv_prog_dtrace_g" = 'yes'; then
|
||||||
RUBY_DTRACE_BSD_BROKEN([enable_dtrace=no], [enable_dtrace=yes])
|
RUBY_DTRACE_BSD_BROKEN([enable_dtrace=no], [enable_dtrace=yes])
|
||||||
else
|
|
||||||
AS_CASE(["$target_os"],
|
|
||||||
[freebsd*], [enable_dtrace=no]
|
|
||||||
)
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
enable_dtrace=no
|
enable_dtrace=no
|
||||||
|
|
Загрузка…
Ссылка в новой задаче