[前][次][番号順一覧][スレッド一覧]

ruby-changes:25678

From: ngoto <ko1@a...>
Date: Mon, 19 Nov 2012 23:13:00 +0900 (JST)
Subject: [ruby-changes:25678] ngoto:r37735 (trunk): * configure.in (--enable-dtrace): change help message

ngoto	2012-11-19 23:12:48 +0900 (Mon, 19 Nov 2012)

  New Revision: 37735

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37735

  Log:
    * 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.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 37734)
+++ configure.in	(revision 37735)
@@ -2731,8 +2731,8 @@
 
 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 @@
         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
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 37734)
+++ ChangeLog	(revision 37735)
@@ -1,3 +1,10 @@
+Mon Nov 19 22:55:48 2012  Naohisa Goto  <ngotogenome@g...>
+
+	* 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@g...>
 
 	* vm_dump.c: not to include probes.h because the code does not depend

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]