OSDN Git Service

2000-07-21 Alexandre Petit-Bianco <apbianco@cygnus.com>
[pf3gnuchains/gcc-fork.git] / gcc / configure.bat
index bbe72e7..33cbe65 100644 (file)
@@ -1,2 +1,21 @@
 @echo off\r
-config\msdos\configure %1 %2 %3 %4\r
+if %1.==go32. goto call_go32\r
+if %1.==winnt. goto call_winnt\r
+echo Usage: configure go32 or configure winnt cpu\r
+goto END\r
+\r
+:call_go32\r
+call config\msdos\configure %1 %2 %3 %4\r
+goto END\r
+\r
+:call_winnt\r
+if %2.==i386. goto really_call_winnt\r
+if %2.==alpha. goto really_call_winnt\r
+echo Usage: configure winnt i386 or configure winnt alpha\r
+goto END\r
+:really_call_winnt\r
+call config\winnt\config-nt %1 %2 %3 %4\r
+goto END\r
+\r
+:END\r
+