summaryrefslogtreecommitdiff
path: root/win32/configure.bat
diff options
context:
space:
mode:
Diffstat (limited to 'win32/configure.bat')
-rwxr-xr-xwin32/configure.bat51
1 files changed, 29 insertions, 22 deletions
diff --git a/win32/configure.bat b/win32/configure.bat
index b141bfc546..7253ade28b 100755
--- a/win32/configure.bat
+++ b/win32/configure.bat
@@ -34,10 +34,10 @@ 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
-if "%1" == "--disable-mjit-support" goto :disable-mjit-support
if "%1" == "--extout" goto :extout
if "%1" == "--path" goto :path
if "%1" == "--with-baseruby" goto :baseruby
@@ -48,6 +48,7 @@ if "%1" == "--with-git" goto :git
if "%1" == "--without-git" goto :nogit
if "%1" == "--without-ext" goto :witharg
if "%1" == "--without-extensions" goto :witharg
+if "%1" == "--with-gmp" goto :gmp
if "%opt:~0,10%" == "--without-" goto :withoutarg
if "%opt:~0,7%" == "--with-" goto :witharg
if "%1" == "-h" goto :help
@@ -55,7 +56,7 @@ if "%1" == "--help" goto :help
if "%opt:~0,1%" == "-" (
echo>>confargs.tmp %1 \
set witharg=
- ) else if "%witharg" == "" (
+ ) else if "%witharg%" == "" (
echo>>confargs.tmp %1 \
) else (
echo>>confargs.tmp ,%1\
@@ -110,57 +111,57 @@ goto :loop ;
goto :loop ;
:extstatic
echo>> ~tmp~.mak "EXTSTATIC=static" \
- echo>>confargs.tmp %1 \
+ echo>>confargs.tmp %1 \
shift
goto :loop ;
:enable-rdoc
echo>> ~tmp~.mak "RDOCTARGET=rdoc" \
- echo>>confargs.tmp %1 \
+ echo>>confargs.tmp %1 \
shift
goto :loop ;
:disable-rdoc
echo>> ~tmp~.mak "RDOCTARGET=nodoc" \
- echo>>confargs.tmp %1 \
+ echo>>confargs.tmp %1 \
shift
goto :loop ;
:enable-lib
echo>> ~tmp~.mak "INSTALL_STATIC_LIBRARY=yes" \
- echo>>confargs.tmp %1 \
+ echo>>confargs.tmp %1 \
shift
goto :loop ;
:disable-lib
echo>> ~tmp~.mak "INSTALL_STATIC_LIBRARY=no" \
- echo>>confargs.tmp %1 \
+ echo>>confargs.tmp %1 \
shift
goto :loop ;
:enable-debug-env
echo>> ~tmp~.mak "ENABLE_DEBUG_ENV=yes" \
- echo>>confargs.tmp %1 \
+ echo>>confargs.tmp %1 \
shift
goto :loop ;
:disable-debug-env
echo>> ~tmp~.mak "ENABLE_DEBUG_ENV=no" \
- echo>>confargs.tmp %1 \
+ echo>>confargs.tmp %1 \
shift
goto :loop ;
-:enable-rubygems
- echo>> ~tmp~.mak "USE_RUBYGEMS=yes" \
- echo>>confargs.tmp %1 \
+:enable-devel
+ echo>> ~tmp~.mak "RUBY_DEVEL=yes" \
+ echo>>confargs.tmp %1 \
shift
goto :loop ;
-:disable-rubygems
- echo>> ~tmp~.mak "USE_RUBYGEMS=no" \
- echo>>confargs.tmp %1 \
+:disable-devel
+ echo>> ~tmp~.mak "RUBY_DEVEL=no" \
+ echo>>confargs.tmp %1 \
shift
goto :loop ;
-:enable-mjit-support
- echo>> ~tmp~.mak "MJIT_SUPPORT=yes" \
- echo>>confargs.tmp %1 \
+:enable-rubygems
+ echo>> ~tmp~.mak "USE_RUBYGEMS=yes" \
+ echo>>confargs.tmp %1 \
shift
goto :loop ;
-:disable-mjit-support
- echo>> ~tmp~.mak "MJIT_SUPPORT=no" \
- echo>>confargs.tmp %1 \
+:disable-rubygems
+ echo>> ~tmp~.mak "USE_RUBYGEMS=no" \
+ echo>>confargs.tmp %1 \
shift
goto :loop ;
:ntver
@@ -210,6 +211,12 @@ goto :loop ;
echo>>confargs.tmp %1 \
shift
goto :loop ;
+:gmp
+ echo>> ~tmp~.mak "WITH_GMP=yes" \
+ echo>>confargs.tmp %1=1 \
+ shift
+ shift
+goto :loop ;
:witharg
echo>>confargs.tmp %1=%2\
set witharg=1