--- ./configure	2012-11-07 15:46:30.000000000 +0000
+++ ./configure	2012-11-07 17:55:27.000000000 +0000
@@ -20699,7 +20699,7 @@
 
 
 else
-  for ac_prog in ruby ruby1.8 ruby18
+  for ac_prog in ruby ruby1.8 ruby18 ruby1.9 ruby19 ruby1.9.3 ruby193
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
@@ -20795,7 +20795,7 @@
 
 
     else
-      for ac_prog in rdoc rdoc1.8 rdoc18
+      for ac_prog in rdoc rdoc1.8 rdoc18 rdoc1.9 rdoc19 rdoc1.9.3 rdoc193
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
@@ -20848,7 +20848,7 @@
   $as_echo_n "(cached) " >&6
 else
 
-    svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print Config::CONFIG.fetch(%q(MAJOR))'`"
+    svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MAJOR))'`"
 
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_major" >&5
@@ -20861,23 +20861,39 @@
   $as_echo_n "(cached) " >&6
 else
 
-    svn_cv_ruby_minor="`$RUBY -rrbconfig -e 'print Config::CONFIG.fetch(%q(MINOR))'`"
+    svn_cv_ruby_minor="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MINOR))'`"
 
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_minor" >&5
 $as_echo "$svn_cv_ruby_minor" >&6; }
     RUBY_MINOR="$svn_cv_ruby_minor"
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby teeny version" >&5
+$as_echo_n "checking for Ruby teeny version... " >&6; }
+if ${svn_cv_ruby_tiny+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
+    svn_cv_ruby_teeny="`$RUBY -rrbconfig  -e 'major, minor, teeny = RUBY_VERSION.split("."); print teeny;'`"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_teeny" >&5
+$as_echo "$svn_cv_ruby_teeny" >&6; }
+    RUBY_TEENY="$svn_cv_ruby_teeny"
 
-    if test ! \( "$RUBY_MAJOR" -eq "1" -a "$RUBY_MINOR" -eq "8" \); then
-      # Disallow Ruby 1.9 or later until the binding tests get fixed
-      # to run with those versions.
+    if test \(  "$RUBY_MAJOR" -eq "1" -a "$RUBY_MINOR" -gt "8" -a "$RUBY_TEENY" -lt "3" \); then
+      # Disallow Ruby between 1.8.7 and 1.9.3 
       RUBY="none"
-      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is too new for Subversion to use" >&5
-$as_echo "$as_me: WARNING: The detected Ruby is too new for Subversion to use" >&2;}
-      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Only 1.8.x releases are supported at this time" >&5
-$as_echo "$as_me: WARNING: Only 1.8.x releases are supported at this time" >&2;}
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is between > 1.8 and less than 1.9.3" >&5
+$as_echo "$as_me: WARNING: The detected Ruby is between > 1.8 and less than 1.9.3" >&2;}
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Only 1.8.x releases and Ruby 1.9.3 are supported at this time" >&5
+$as_echo "$as_me: WARNING: Only 1.8.x and 1.9.3 releases are supported at this time" >&2;}
+    elif test \(  "$RUBY_MAJOR" -eq "1" -a "$RUBY_MINOR" -eq "9" -a "$RUBY_TEENY" -eq "3" \); then
+      #Warn about 1.9.3 support
+           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is 1.9.3" >&5
+$as_echo "$as_me: WARNING: The detected Ruby is 1.9.3" >&2;}
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Only 1.8.x releases are fully supported, 1.9.3 support is new" >&5
+$as_echo "$as_me: WARNING: Only 1.8.x releases are fully supported, 1.9.3 support is new" >&2;}
     fi
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
@@ -21163,7 +21179,7 @@
     for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
                     rubyhdrdir sitedir sitelibdir sitearchdir libdir
     do
-      rbconfig_tmp=`$rbconfig "print Config::CONFIG['$var_name']"`
+      rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
       eval "rbconfig_$var_name=\"$rbconfig_tmp\""
     done
 
@@ -21628,7 +21644,7 @@
     for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
                     rubyhdrdir sitedir sitelibdir sitearchdir libdir
     do
-      rbconfig_tmp=`$rbconfig "print Config::CONFIG['$var_name']"`
+      rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
       eval "rbconfig_$var_name=\"$rbconfig_tmp\""
     done
 
@@ -22093,7 +22109,7 @@
     for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
                     rubyhdrdir sitedir sitelibdir sitearchdir libdir
     do
-      rbconfig_tmp=`$rbconfig "print Config::CONFIG['$var_name']"`
+      rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
       eval "rbconfig_$var_name=\"$rbconfig_tmp\""
     done
 
@@ -22561,7 +22577,7 @@
     for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
                     rubyhdrdir sitedir sitelibdir sitearchdir libdir
     do
-      rbconfig_tmp=`$rbconfig "print Config::CONFIG['$var_name']"`
+      rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
       eval "rbconfig_$var_name=\"$rbconfig_tmp\""
     done
 

