1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

configure.in: shvar_to_cpp in ruby

* configure.in: save configured load path values into verconf.in.
* common.mk (verconf.h): create from verconf.in with shvar_to_cpp.rb.
* tool/shvar_to_cpp.rb: turn shell variables into C macros.
  [Bug #7959]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-05-15 07:58:28 +00:00
parent 57531305bc
commit b38e3f953c
5 changed files with 54 additions and 84 deletions

View file

@ -37,7 +37,9 @@
typedef char ruby_lib_version_string[(int)sizeof(RUBY_LIB_VERSION) - 2];
#ifndef RUBY_LIB
#define RUBY_LIB RUBY_LIB_PREFIX "/"RUBY_LIB_VERSION
#endif
#define RUBY_SITE_LIB2 RUBY_SITE_LIB "/"RUBY_LIB_VERSION
#define RUBY_VENDOR_LIB2 RUBY_VENDOR_LIB "/"RUBY_LIB_VERSION
#ifndef RUBY_ARCH_LIB_FOR