summaryrefslogtreecommitdiff
path: root/win32/configure.bat
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-08-11 11:02:28 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-08-11 11:34:52 +0900
commit74d95744bdb9cf47b8fa07b9a9938c323658d9b9 (patch)
treebd62d1f443bdfc266cb9d29c1b3aa059688b5e92 /win32/configure.bat
parent9fc401b689e64dde5fc7cc56c734d5cddd6aa6e1 (diff)
Add `--enable-devel` configure option
Since `RUBY_DEVEL` in cppflags has no effect in the configure script and makefiles.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6230
Diffstat (limited to 'win32/configure.bat')
-rwxr-xr-xwin32/configure.bat12
1 files changed, 12 insertions, 0 deletions
diff --git a/win32/configure.bat b/win32/configure.bat
index 573f8bf0e5..4602b41ec5 100755
--- a/win32/configure.bat
+++ b/win32/configure.bat
@@ -34,6 +34,8 @@ if "%1" == "--enable-install-static-library" goto :enable-lib
if "%1" == "--disable-install-static-library" goto :disable-lib
if "%1" == "--enable-debug-env" goto :enable-debug-env
if "%1" == "--disable-debug-env" goto :disable-debug-env
+if "%1" == "--enable-devel" goto :enable-devel
+if "%1" == "--disable-devel" goto :disable-devel
if "%1" == "--enable-rubygems" goto :enable-rubygems
if "%1" == "--disable-rubygems" goto :disable-rubygems
if "%1" == "--enable-mjit-support" goto :enable-mjit-support
@@ -143,6 +145,16 @@ goto :loop ;
echo>>confargs.tmp %1 \
shift
goto :loop ;
+:enable-devel
+ echo>> ~tmp~.mak "RUBY_DEVEL=yes" \
+ echo>>confargs.tmp %1 \
+ shift
+goto :loop ;
+:disable-devel
+ echo>> ~tmp~.mak "RUBY_DEVEL=no" \
+ echo>>confargs.tmp %1 \
+ shift
+goto :loop ;
:enable-rubygems
echo>> ~tmp~.mak "USE_RUBYGEMS=yes" \
echo>>confargs.tmp %1 \