OSDN Git Service

Take arg specifying msdos or winnt batch file config.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Feb 1995 23:33:40 +0000 (23:33 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Feb 1995 23:33:40 +0000 (23:33 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9005 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/configure.bat

index bbe72e7..88d7c0a 100644 (file)
@@ -1,2 +1,15 @@
-@echo off\r
-config\msdos\configure %1 %2 %3 %4\r
+@echo off
+if %1.==msdos. goto call_msdos
+if %1.==winnt. goto call_winnt
+echo Usage: configure msdos or configure winnt
+goto END
+
+:call_msdos
+call config\msdos\configure %1 %2 %3 %4
+goto END
+
+:call_winnt
+call config\i386\config-nt %1 %2 %3 %4
+goto END
+
+:END