comparison src/auto/configure @ 12614:12f4408c7f69 v8.0.1185

patch 8.0.1185: Ruby library includes minor version number commit https://github.com/vim/vim/commit/9202162c5c069c925b6b9bf84e546fbd362cdf46 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 12 12:33:43 2017 +0200 patch 8.0.1185: Ruby library includes minor version number Problem: Ruby library includes minor version number. Solution: Only use the API version number. (Ben Boeckel, closes https://github.com/vim/vim/issues/2199)
author Christian Brabandt <cb@256bit.org>
date Thu, 12 Oct 2017 12:45:07 +0200
parents 55257baece9a
children baf88919c791
comparison
equal deleted inserted replaced
12613:d9deffab15dc 12614:12f4408c7f69
5720 perlcppflags=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \ 5720 perlcppflags=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \
5721 -e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[^ ]*//' \ 5721 -e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[^ ]*//' \
5722 -e 's/-fdebug-prefix-map[^ ]*//g' \ 5722 -e 's/-fdebug-prefix-map[^ ]*//g' \
5723 -e 's/-pipe //' \ 5723 -e 's/-pipe //' \
5724 -e 's/-W[^ ]*//g' \ 5724 -e 's/-W[^ ]*//g' \
5725 -e 's/-D_FORTIFY_SOURCE=.//g'` 5725 -e 's/-D_FORTIFY_SOURCE=.//g'`
5726 perllibs=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \ 5726 perllibs=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \
5727 sed -e '/Warning/d' -e '/Note (probably harmless)/d' \ 5727 sed -e '/Warning/d' -e '/Note (probably harmless)/d' \
5728 -e 's/-bE:perl.exp//' -e 's/-lc //'` 5728 -e 's/-bE:perl.exp//' -e 's/-lc //'`
5729 perlldflags=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \ 5729 perlldflags=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \
5730 -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'` 5730 -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'`
7198 RUBY_OBJ="objects/if_ruby.o" 7198 RUBY_OBJ="objects/if_ruby.o"
7199 RUBY_PRO="if_ruby.pro" 7199 RUBY_PRO="if_ruby.pro"
7200 $as_echo "#define FEAT_RUBY 1" >>confdefs.h 7200 $as_echo "#define FEAT_RUBY 1" >>confdefs.h
7201 7201
7202 if test "$enable_rubyinterp" = "dynamic"; then 7202 if test "$enable_rubyinterp" = "dynamic"; then
7203 libruby=`$vi_cv_path_ruby -r rbconfig -e "puts $ruby_rbconfig::CONFIG['LIBRUBY_SO']"` 7203 libruby_soname=`$vi_cv_path_ruby -r rbconfig -e "puts $ruby_rbconfig::CONFIG['LIBRUBY_ALIASES'].split[0]"`
7204 $as_echo "#define DYNAMIC_RUBY 1" >>confdefs.h 7204 $as_echo "#define DYNAMIC_RUBY 1" >>confdefs.h
7205 7205
7206 RUBY_CFLAGS="-DDYNAMIC_RUBY_DLL=\\\"$libruby\\\" -DDYNAMIC_RUBY_VER=$rubyversion $RUBY_CFLAGS" 7206 RUBY_CFLAGS="-DDYNAMIC_RUBY_DLL=\\\"$libruby_soname\\\" -DDYNAMIC_RUBY_VER=$rubyversion $RUBY_CFLAGS"
7207 RUBY_LIBS= 7207 RUBY_LIBS=
7208 fi 7208 fi
7209 else 7209 else
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found; disabling Ruby" >&5 7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found; disabling Ruby" >&5
7211 $as_echo "not found; disabling Ruby" >&6; } 7211 $as_echo "not found; disabling Ruby" >&6; }