From c19b2904a658b8991ec3c54d6b66f5d157bfb302 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 6 Feb 2002 11:41:01 +0000 Subject: [PATCH] [project @ 2002-02-06 11:41:01 by simonmar] Take into account the patchlevel when figuring out if we're bootstrapping or not. --- ghc/compiler/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 39ea131..f8b1ffa 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.206 2002/02/01 15:18:18 simonmar Exp $ +# $Id: Makefile,v 1.207 2002/02/06 11:41:01 simonmar Exp $ TOP = .. @@ -122,7 +122,7 @@ ifeq "$(BootingFromHc)" "YES" bootstrapped = YES compiling_with_4xx=NO else -bootstrapped = $(shell if (test $(GhcCanonVersion) -ge $(ProjectVersionInt)); then echo YES; else echo NO; fi) +bootstrapped = $(shell if (test $(GhcCanonVersion) -ge $(ProjectVersionInt) -a $(GhcPatchLevel) -ge $(ProjectPatchLevel)); then echo YES; else echo NO; fi) compiling_with_4xx = $(shell if (test $(GhcCanonVersion) -lt 500); then echo YES; else echo NO; fi) ghc_502_at_least = $(shell if (test $(GhcCanonVersion) -ge 502); then echo YES; else echo NO; fi) endif -- 1.7.10.4