emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/nt/configure.bat,v


From: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/nt/configure.bat,v
Date: Sun, 03 Feb 2008 21:59:43 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Jason Rumney <jasonr>   08/02/03 21:59:43

Index: configure.bat
===================================================================
RCS file: /sources/emacs/emacs/nt/configure.bat,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- configure.bat       2 Feb 2008 15:05:38 -0000       1.45
+++ configure.bat       3 Feb 2008 21:59:43 -0000       1.46
@@ -244,16 +244,17 @@
 if (%COMPILER%)==(cl) goto compilercheckdone
 if (%COMPILER%)==(gcc) goto checkgcc
 
-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...
+echo main(){} >junk.c
 gcc -c junk.c
-if not exist junk.o goto nocompiler
+if exist junk.o goto checkgcc
 del junk.o
 
+echo Checking whether 'cl' is available...
+cl -nologo -c junk.c
+if exist junk.obj goto clOK
+goto nocompiler
+
 :checkgcc
 Rem WARNING -- COMMAND.COM on some systems only looks at the first
 Rem            8 characters of a label.  So do NOT be tempted to change




reply via email to

[Prev in Thread] Current Thread [Next in Thread]