[前][次][番号順一覧][スレッド一覧]

ruby-changes:24742

From: usa <ko1@a...>
Date: Thu, 23 Aug 2012 12:31:42 +0900 (JST)
Subject: [ruby-changes:24742] usa:r36793 (trunk): * win32/configure.bat: support --with(out)?-ext(ensions) options.

usa	2012-08-23 12:30:58 +0900 (Thu, 23 Aug 2012)

  New Revision: 36793

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36793

  Log:
    * win32/configure.bat: support --with(out)?-ext(ensions) options.

  Modified files:
    trunk/ChangeLog
    trunk/win32/configure.bat

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36792)
+++ ChangeLog	(revision 36793)
@@ -1,3 +1,7 @@
+Thu Aug 23 12:30:20 2012  NAKAMURA Usaku  <usa@r...>
+
+	* win32/configure.bat: support --with(out)?-ext(ensions) options.
+
 Thu Aug 23 11:52:04 2012  NARUSE, Yui  <naruse@r...>
 
 	* configure.in: Fixing Haiku build.
@@ -2,3 +6,4 @@
 	  - -lbe is not required for linking
-	  - stack protector doesn't work for now because of the default gcc's bug
+	  - stack protector doesn't work for now because of the default gcc's
+	    bug
 	  by Takashi Toyoshima <toyoshim@g...>
Index: win32/configure.bat
===================================================================
--- win32/configure.bat	(revision 36792)
+++ win32/configure.bat	(revision 36793)
@@ -32,11 +32,19 @@
 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 @@
   shift
   shift
 goto :loop
-:withdir
+:witharg
   echo>>confargs.tmp %1=%2 \
   shift
   shift

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]