8sa1-gcc/gcc/configure.bat
Richard Kenner 6518a809e9 Added line to echo usage on invalid input.
From-SVN: r9730
1995-05-16 18:34:39 -04:00

22 lines
437 B
Batchfile

@echo off
if %1.==go32. goto call_go32
if %1.==winnt. goto call_winnt
echo Usage: configure go32 or configure winnt cpu
goto END
:call_go32
call config\msdos\configure %1 %2 %3 %4
goto END
:call_winnt
if %2.==i386. goto really_call_winnt
if %2.==alpha. goto really_call_winnt
echo Usage: configure winnt i386 or configure winnt alpha
goto END
:really_call_winnt
call config\%2\config-nt %1 %2 %3 %4
goto END
:END