Added line to echo usage on invalid input.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 16 May 1995 22:34:39 +0000 (18:34 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 16 May 1995 22:34:39 +0000 (18:34 -0400)
From-SVN: r9730

gcc/configure.bat

index a031b0cd714c05d1512ab1eff418b46bd33bbf32..336a04c5814f69cc0069b969234482db17c02b03 100644 (file)
@@ -9,6 +9,11 @@ call config\msdos\configure %1 %2 %3 %4
 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\%2\config-nt %1 %2 %3 %4\r
 goto END\r
 \r