summaryrefslogtreecommitdiff
path: root/win32/configure.bat
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-04 14:29:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-04 14:29:58 +0000
commitd34f9699fc3adf72e40e4eb3f837eaf8ee60137f (patch)
tree94dabd1933396f1c6d66153de45c2292b8c333cd /win32/configure.bat
parent40c2dd156bd983d5f7a6cf85a11b4977f3720fef (diff)
* configure.in, win32/configure.bat (--enable-win95): new option
to enable/disable win95 support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/configure.bat')
-rwxr-xr-xwin32/configure.bat15
1 files changed, 15 insertions, 0 deletions
diff --git a/win32/configure.bat b/win32/configure.bat
index f9d287b21c7..8c157927e42 100755
--- a/win32/configure.bat
+++ b/win32/configure.bat
@@ -25,6 +25,8 @@ if "%1" == "--install-name" goto :installname
if "%1" == "--so-name" goto :soname
if "%1" == "--enable-install-doc" goto :enable-rdoc
if "%1" == "--disable-install-doc" goto :disable-rdoc
+if "%1" == "--enable-win95" goto :enable-win95
+if "%1" == "--disable-win95" goto :disable-win95
if "%1" == "--extout" goto :extout
if "%1" == "--path" goto :path
if "%1" == "--with-baseruby" goto :baseruby
@@ -95,6 +97,16 @@ goto :loop
echo>>confargs.tmp %1 \
shift
goto :loop
+:enable-win95
+ echo>> ~tmp~.mak "ENABLE_WIN95=yes" \
+ echo>>confargs.tmp %1 \
+ shift
+goto :loop
+:disable-win95
+ echo>> ~tmp~.mak "ENABLE_WIN95=no" \
+ echo>>confargs.tmp %1 \
+ shift
+goto :loop
:extout
echo>> ~tmp~.mak "EXTOUT=%2" \
echo>>confargs.tmp %1=%2 \
@@ -125,6 +137,7 @@ goto :loop
echo --with-baseruby=RUBY use RUBY as baseruby [ruby]
echo --with-static-linked-ext link external modules statically
echo --disable-install-doc do not install rdoc indexes during install
+ echo --enable-win95 enable win95 support
del *.tmp
del ~tmp~.mak
goto :exit
@@ -132,8 +145,10 @@ goto :exit
echo>> ~tmp~.mak WIN32DIR=$(@D)
echo.>>confargs.tmp
echo>confargs.c #define $ $$
+echo>>confargs.c !ifndef CONFIGURE_ARGS
type>>confargs.c confargs.tmp
echo>>confargs.c configure_args = CONFIGURE_ARGS
+echo>>confargs.c !endif
echo>>confargs.c #undef $
if exist pathlist.tmp echo>>confargs.c #define PATH_LIST \
if exist pathlist.tmp type>>confargs.c pathlist.tmp