You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2011/02/19 20:04:15 UTC

svn commit: r1072417 - /subversion/trunk/configure.ac

Author: danielsh
Date: Sat Feb 19 19:04:14 2011
New Revision: 1072417

URL: http://svn.apache.org/viewvc?rev=1072417&view=rev
Log:
Silence './configure -q' more.

* configure.ac (RUBY): Generate our own message, instead of 'ruby -r mkmf''s.

Modified:
    subversion/trunk/configure.ac

Modified: subversion/trunk/configure.ac
URL: http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=1072417&r1=1072416&r2=1072417&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Sat Feb 19 19:04:14 2011
@@ -1043,7 +1043,9 @@ AC_PATH_PROG(PERL, perl, none)
 
 AC_PATH_PROGS(RUBY, ruby ruby1.8, none)
 if test "$RUBY" != "none"; then
-  if "$RUBY" -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)'; then
+  AC_MSG_CHECKING([rb_hash_foreach])
+  if "$RUBY" -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)' >/dev/null; then
+    AC_MSG_RESULT([yes])
     AC_PATH_PROG(RDOC, rdoc, none)
     AC_CACHE_CHECK([for Ruby major version], [svn_cv_ruby_major],[
     svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print Config::CONFIG.fetch(%q(MAJOR))'`"
@@ -1058,6 +1060,7 @@ if test "$RUBY" != "none"; then
     AC_SUBST(RUBY_MAJOR)
     AC_SUBST(RUBY_MINOR)
   else
+    AC_MSG_RESULT([no])
     RUBY="none"
     AC_MSG_WARN([The detected Ruby is too old for Subversion to use])
     AC_MSG_WARN([A Ruby which has rb_hash_foreach is required to use the])