summaryrefslogtreecommitdiff
path: root/win32/configure.bat
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-23 03:30:58 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-23 03:30:58 +0000
commit7370aa3126e5bf27c26401389b4d87c377dbab10 (patch)
tree3bf02a05b5b57db17af6254ffc8e09efe4ae0904 /win32/configure.bat
parentf896ad3b49461dbdee5e47e8224051ff46e75d95 (diff)
* win32/configure.bat: support --with(out)?-ext(ensions) options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/configure.bat')
-rwxr-xr-xwin32/configure.bat16
1 files changed, 12 insertions, 4 deletions
diff --git a/win32/configure.bat b/win32/configure.bat
index 17879eb57a0..a8c5a7cb372 100755
--- a/win32/configure.bat
+++ b/win32/configure.bat
@@ -32,11 +32,19 @@ if "%1" == "--path" goto :path
if "%1" == "--with-baseruby" goto :baseruby
if "%1" == "--with-ntver" goto :ntver
echo %1| findstr "^--with-.*-dir$" > nul
-if not errorlevel 1 goto :withdir
+if not errorlevel 1 goto :witharg
echo %1| findstr "^--with-.*-include$" > nul
-if not errorlevel 1 goto :withdir
+if not errorlevel 1 goto :witharg
echo %1| findstr "^--with-.*-lib$" > nul
-if not errorlevel 1 goto :withdir
+if not errorlevel 1 goto :witharg
+echo %1| findstr "^--with-ext$" > nul
+if not errorlevel 1 goto :witharg
+echo %1| findstr "^--with-extensions$" > nul
+if not errorlevel 1 goto :witharg
+echo %1| findstr "^--without-ext$" > nul
+if not errorlevel 1 goto :witharg
+echo %1| findstr "^--without-extensions$" > nul
+if not errorlevel 1 goto :witharg
if "%1" == "-h" goto :help
if "%1" == "--help" goto :help
echo>>confargs.tmp %1 \
@@ -148,7 +156,7 @@ goto :loop
shift
shift
goto :loop
-:withdir
+:witharg
echo>>confargs.tmp %1=%2 \
shift
shift