summaryrefslogtreecommitdiff
path: root/win32/configure.bat
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-03 05:04:57 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-03 05:04:57 +0000
commitbfdadb885a95443853dafcc1aeecd26b1f4900e6 (patch)
tree49a0e03e238d36f0cf734c23c951d41e1c1ae8e4 /win32/configure.bat
parent10e9b638069d9e40233242693814b86c672e423e (diff)
* win32/{configure.bat,setup.mak,Makefile.sub): add --program-prefix
configure option support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/configure.bat')
-rwxr-xr-xwin32/configure.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/win32/configure.bat b/win32/configure.bat
index 0ec9fde9a63..f9d287b21c7 100755
--- a/win32/configure.bat
+++ b/win32/configure.bat
@@ -18,6 +18,7 @@ if "%1" == "srcdir" goto :srcdir
if "%1" == "--target" goto :target
if "%1" == "target" goto :target
if "%1" == "--with-static-linked-ext" goto :extstatic
+if "%1" == "--program-prefix" goto :pprefix
if "%1" == "--program-suffix" goto :suffix
if "%1" == "--program-name" goto :installname
if "%1" == "--install-name" goto :installname
@@ -44,6 +45,12 @@ goto :loop
shift
shift
goto :loop
+:pprefix
+ echo>> ~tmp~.mak "RUBY_PREFIX=%2" \
+ echo>>confargs.tmp %1=%2 \
+ shift
+ shift
+goto :loop
:suffix
echo>> ~tmp~.mak "RUBY_SUFFIX=%2" \
echo>>confargs.tmp %1=%2 \