* 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:
ngoto 2012-11-19 14:12:48 +00:00
Родитель 82b2436422
Коммит 029b59ba53
2 изменённых файлов: 9 добавлений и 6 удалений

Просмотреть файл

@ -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>
* vm_dump.c: not to include probes.h because the code does not depend

Просмотреть файл

@ -2731,8 +2731,8 @@ fi
AC_ARG_ENABLE(dtrace,
AS_HELP_STRING([--enable-dtrace],
[enable DTrace for tracing ruby's internal.]),
[enable_dtrace=$enableval], [enable_dtrace=auto])
[enable DTrace for tracing ruby's internal. enabled by default on 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
@ -2740,10 +2740,6 @@ if test "${enable_dtrace}" = "auto"; then
enable_dtrace=yes
if test "$rb_cv_prog_dtrace_g" = 'yes'; then
RUBY_DTRACE_BSD_BROKEN([enable_dtrace=no], [enable_dtrace=yes])
else
AS_CASE(["$target_os"],
[freebsd*], [enable_dtrace=no]
)
fi
else
enable_dtrace=no