summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-27 13:44:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-27 13:44:25 +0000
commit61dc4a8dbc2cdc9a24ce206ad0ec911267bb6782 (patch)
treefc22bbb6f973a57bb108f39dd546de0d24cccdd4 /win32
parentc2d7776f855420f5e728608c9e361dcfdf32aecf (diff)
* configure.in (verconf.h): separate load path specific stuff from
config.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.sub11
1 files changed, 7 insertions, 4 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 1358d3217b..0bfd05e857 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -670,10 +670,6 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
#define LOAD_RELATIVE 1
#define DLEXT ".so"
#define EXECUTABLE_EXTS $(EXECUTABLE_EXTS)
-#define RUBY_LIB_VERSION_STYLE 3 /* full */
-#define RUBY_LIB_PREFIX "/lib/$(RUBY_BASE_NAME)"
-#define RUBY_PLATFORM "$(arch)"
-#define RUBY_SITEARCH "$(sitearch)"
#define RUBY_COREDLL "$(RT)"
#define LIBRUBY_SO "$(LIBRUBY_SO)"
#if 0
@@ -683,6 +679,13 @@ $(BANG)endif
#endif
#endif /* $(guard) */
<<
+ @echo Creating verconf.h
+ @$(IFCHANGE) verconf.h <<
+#define RUBY_LIB_VERSION_STYLE 3 /* full */
+#define RUBY_LIB_PREFIX "/lib/$(RUBY_BASE_NAME)"
+#define RUBY_PLATFORM "$(arch)"
+#define RUBY_SITEARCH "$(sitearch)"
+<<
@exit > $(@:/=\)
#!if exist($(RUBY_CONFIG_H))