Mercurial > vim
comparison src/configure.ac @ 19079:23df4b83fd31 v8.2.0100
patch 8.2.0100: macros for Ruby are too complicated
Commit: https://github.com/vim/vim/commit/41a4141ecb36cd871c6e87f6fbc12fa81653b6be
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 7 21:32:19 2020 +0100
patch 8.2.0100: macros for Ruby are too complicated
Problem: Macros for Ruby are too complicated.
Solution: Do not use DYNAMIC_RUBY_VER, use RUBY_VERSION. (Ken Takata,
closes #5452)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 07 Jan 2020 21:45:08 +0100 |
parents | 314517a3a0f8 |
children | ae6bcbadf04b |
comparison
equal
deleted
inserted
replaced
19078:979b303031ca | 19079:23df4b83fd31 |
---|---|
1964 libruby_soname=`$vi_cv_path_ruby -r rbconfig -e "puts $ruby_rbconfig::CONFIG[['LIBRUBY_ALIASES']].split[[0]]"` | 1964 libruby_soname=`$vi_cv_path_ruby -r rbconfig -e "puts $ruby_rbconfig::CONFIG[['LIBRUBY_ALIASES']].split[[0]]"` |
1965 if test -z "$libruby_soname"; then | 1965 if test -z "$libruby_soname"; then |
1966 libruby_soname=`$vi_cv_path_ruby -r rbconfig -e "puts $ruby_rbconfig::CONFIG[['LIBRUBY_SO']]"` | 1966 libruby_soname=`$vi_cv_path_ruby -r rbconfig -e "puts $ruby_rbconfig::CONFIG[['LIBRUBY_SO']]"` |
1967 fi | 1967 fi |
1968 AC_DEFINE(DYNAMIC_RUBY) | 1968 AC_DEFINE(DYNAMIC_RUBY) |
1969 RUBY_CFLAGS="-DDYNAMIC_RUBY_DLL=\\\"$libruby_soname\\\" -DDYNAMIC_RUBY_VER=$rubyversion $RUBY_CFLAGS" | 1969 RUBY_CFLAGS="-DDYNAMIC_RUBY_DLL=\\\"$libruby_soname\\\" $RUBY_CFLAGS" |
1970 RUBY_LIBS= | 1970 RUBY_LIBS= |
1971 fi | 1971 fi |
1972 else | 1972 else |
1973 AC_MSG_RESULT(not found; disabling Ruby) | 1973 AC_MSG_RESULT(not found; disabling Ruby) |
1974 fi | 1974 fi |