From 967e3a3598143df7fdecbb3e1b7bf45789bd2211 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 26 Jun 2010 04:07:20 +0000 Subject: * configure.in (enable-debug-env): option for RUBY_DEBUG env. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win32/Makefile.sub') diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 8cbe212e4a..acfcd1761e 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -584,6 +584,9 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub !endif #define CANONICALIZATION_FOR_MATHN 1 #define DEFAULT_KCODE KCODE_NONE +!if "$(ENABLE_DEBUG_ENV)" == "yes" +#define RUBY_DEBUG_ENV 1 +!endif #define LOAD_RELATIVE 1 #define DLEXT ".so" #define EXECUTABLE_EXTS $(EXECUTABLE_EXTS) -- cgit v1.2.3