summaryrefslogtreecommitdiff
path: root/win32/configure.bat
diff options
context:
space:
mode:
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 4497653379..6eb0320a20 100755
--- a/win32/configure.bat
+++ b/win32/configure.bat
@@ -26,6 +26,8 @@ if "%1" == "--enable-win95" goto :enable-win95
if "%1" == "--disable-win95" goto :disable-win95
if "%1" == "--enable-debug-env" goto :enable-debug-env
if "%1" == "--disable-debug-env" goto :disable-debug-env
+if "%1" == "--enable-rubygems" goto :enable-rubygems
+if "%1" == "--disable-rubygems" goto :disable-rubygems
if "%1" == "--extout" goto :extout
if "%1" == "--path" goto :path
if "%1" == "--with-baseruby" goto :baseruby
@@ -123,6 +125,16 @@ goto :loop
echo>>confargs.tmp %1 \
shift
goto :loop
+:enable-rubygems
+ echo>> ~tmp~.mak "USE_RUBYGEMS=YES" \
+ echo>>confargs.tmp %1 \
+ shift
+goto :loop
+:disable-rubygems
+ echo>> ~tmp~.mak "USE_RUBYGEMS=NO" \
+ echo>>confargs.tmp %1 \
+ shift
+goto :loop
:ntver
echo>> ~tmp~.mak "NTVER=%~2" \
echo>>confargs.tmp %1=%2 \