# HG changeset patch # User Jason Rumney # Date 1202075983 0 # Node ID 1748d84b4fe304ac381e65b7b224be0ea9d4e0b9 # Parent 26c44132a0bf6cd1934624534f2aa0d5be128d9f Make gcc the default compiler. diff -r 26c44132a0bf -r 1748d84b4fe3 nt/configure.bat --- a/nt/configure.bat Sun Feb 03 21:33:49 2008 +0000 +++ b/nt/configure.bat Sun Feb 03 21:59:43 2008 +0000 @@ -244,15 +244,16 @@ if (%COMPILER%)==(cl) goto compilercheckdone if (%COMPILER%)==(gcc) goto checkgcc +echo Checking whether 'gcc' is available... +echo main(){} >junk.c +gcc -c junk.c +if exist junk.o goto checkgcc +del junk.o + echo Checking whether 'cl' is available... -echo main(){} >junk.c cl -nologo -c junk.c if exist junk.obj goto clOK - -echo Checking whether 'gcc' is available... -gcc -c junk.c -if not exist junk.o goto nocompiler -del junk.o +goto nocompiler :checkgcc Rem WARNING -- COMMAND.COM on some systems only looks at the first