From: Andrew Innes Date: Wed, 27 Jan 1999 21:49:57 +0000 (+0000) Subject: Do make version comparison as strings. X-Git-Tag: emacs-20.4~744 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=27d3ec7f872059482c2f01fa62ad3f126b6c0ffe;p=emacs.git Do make version comparison as strings. --- diff --git a/lib-src/makefile.nt b/lib-src/makefile.nt index 7cf6a979fe0..e3c1a2ef5de 100644 --- a/lib-src/makefile.nt +++ b/lib-src/makefile.nt @@ -217,7 +217,7 @@ $(DOC): $(BLD)\make-docfile.exe {$(BLD)}.obj{$(BLD)}.exe: $(LINK) -out:$@ $(LINK_FLAGS) $*.obj $(LIBS) -!IF ($(_NMAKE_VER) == $(_NMAKE_VER_4)) +!IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)") .c{$(BLD)}.obj: $(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $< !ELSE diff --git a/nt/makefile.nt b/nt/makefile.nt index 122fadcaeed..8aba47dacb1 100644 --- a/nt/makefile.nt +++ b/nt/makefile.nt @@ -29,7 +29,7 @@ TRES = $(BLD)\emacs.res TRES = $(BLD)\emacs.rbj !endif -!IF ($(_NMAKE_VER) == $(_NMAKE_VER_4)) +!IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)") .c{$(BLD)}.obj: $(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $< !ELSE diff --git a/src/makefile.nt b/src/makefile.nt index 787018e4fce..65d763b4470 100644 --- a/src/makefile.nt +++ b/src/makefile.nt @@ -248,7 +248,7 @@ $(TLASTLIB): $(BLD)\lastfile.obj # # Object files. # -!IF ($(_NMAKE_VER) == $(_NMAKE_VER_4)) +!IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)") .c{$(BLD)}.obj: $(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $< !ELSE