Remove incorrect include paths from svn_cv_ruby_includes.
Files under ruby/ and ruby/backward/ should be included using "#include
<ruby/...>", if needed, instead of adding those directories to the include
path.
* build/ac-macros/swig.m4
(SVN_FIND_SWIG): Remove "-I$rbconfig_rubyhdrdir/ruby
-I$rbconfig_rubyhdrdir/ruby/backward"
@@ -230,7 +230,7 @@ AC_DEFUN(SVN_FIND_SWIG,
AC_CACHE_CHECK([for Ruby include path], [svn_cv_ruby_includes],[
if test -d "$rbconfig_rubyhdrdir"; then
dnl Ruby >=1.9
- svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
+ svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir"
if test -d "$rbconfig_rubyarchhdrdir"; then
dnl Ruby >=2.0
svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
