1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* win32/configure.bat: remove quotes from arguments to be quoted.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-11-17 14:19:24 +00:00
parent 4fc08fd17d
commit 7afe174b9e
2 changed files with 16 additions and 14 deletions

View file

@ -1,4 +1,6 @@
Wed Nov 17 23:17:22 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
Wed Nov 17 23:19:21 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/configure.bat: remove quotes from arguments to be quoted.
* lib/mkmf.rb (create_makefile): use forward slashes in messages.

View file

@ -45,46 +45,46 @@ if "%1" == "--help" goto :help
shift
goto :loop
:srcdir
echo>> ~tmp~.mak "srcdir=%2" \
echo>> ~tmp~.mak "srcdir=%~2" \
echo>>confargs.tmp --srcdir=%2 \
shift
shift
goto :loop
:prefix
echo>> ~tmp~.mak "prefix=%2" \
echo>> ~tmp~.mak "prefix=%~2" \
echo>>confargs.tmp %1=%2 \
shift
shift
goto :loop
:pprefix
echo>> ~tmp~.mak "RUBY_PREFIX=%2" \
echo>> ~tmp~.mak "RUBY_PREFIX=%~2" \
echo>>confargs.tmp %1=%2 \
shift
shift
goto :loop
:suffix
echo>> ~tmp~.mak "RUBY_SUFFIX=%2" \
echo>> ~tmp~.mak "RUBY_SUFFIX=%~2" \
echo>>confargs.tmp %1=%2 \
shift
shift
goto :loop
:installname
echo>> ~tmp~.mak "RUBY_INSTALL_NAME=%2" \
echo>> ~tmp~.mak "RUBY_INSTALL_NAME=%~2" \
echo>>confargs.tmp %1=%2 \
shift
shift
goto :loop
:soname
echo>> ~tmp~.mak "RUBY_SO_NAME=%2" \
echo>> ~tmp~.mak "RUBY_SO_NAME=%~2" \
echo>>confargs.tmp %1=%2 \
shift
shift
goto :loop
:target
echo>> ~tmp~.mak "%2" \
echo>> ~tmp~.mak "%~2" \
echo>>confargs.tmp --target=%2 \
if "%2" == "x64-mswin64" goto target2
if NOT "%2" == "ia64-mswin64" goto target3
if "%~2" == "x64-mswin64" goto target2
if NOT "%~2" == "ia64-mswin64" goto target3
:target2
echo>> ~tmp~.mak "TARGET_OS=mswin64" \
:target3
@ -127,25 +127,25 @@ goto :loop
shift
goto :loop
:ntver
echo>> ~tmp~.mak "NTVER=%2" \
echo>> ~tmp~.mak "NTVER=%~2" \
echo>>confargs.tmp %1=%2 \
shift
shift
goto :loop
:extout
echo>> ~tmp~.mak "EXTOUT=%2" \
echo>> ~tmp~.mak "EXTOUT=%~2" \
echo>>confargs.tmp %1=%2 \
shift
shift
goto :loop
:path
echo>>pathlist.tmp %2;\
echo>>pathlist.tmp %~2;\
echo>>confargs.tmp %1=%2 \
shift
shift
goto :loop
:baseruby
echo>> ~tmp~.mak "BASERUBY=%2" \
echo>> ~tmp~.mak "BASERUBY=%~2" \
echo>>confargs.tmp %1=%2 \
shift
shift