subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james...@apache.org
Subject svn commit: r1875602 - /subversion/trunk/build/ac-macros/swig.m4
Date Tue, 24 Mar 2020 23:30:21 GMT
Author: jamessan
Date: Tue Mar 24 23:30:21 2020
New Revision: 1875602

URL: http://svn.apache.org/viewvc?rev=1875602&view=rev
Log:
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"

Modified:
    subversion/trunk/build/ac-macros/swig.m4

Modified: subversion/trunk/build/ac-macros/swig.m4
URL: http://svn.apache.org/viewvc/subversion/trunk/build/ac-macros/swig.m4?rev=1875602&r1=1875601&r2=1875602&view=diff
==============================================================================
--- subversion/trunk/build/ac-macros/swig.m4 (original)
+++ subversion/trunk/build/ac-macros/swig.m4 Tue Mar 24 23:30:21 2020
@@ -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"



Mime
View raw message