From b6dbc3491780f00bedbbf836efd9b8ca1cda040c Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 9 May 2005 09:00:04 +0000 Subject: [PATCH] [project @ 2005-05-09 09:00:04 by simonmar] ProjectPatchLevel hack: the STABLE branch versions now look like 6.4.1.20050508 which confuses the compiler which thinks ProjectPatchLevel should be an Int. --- ghc/aclocal.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ghc/aclocal.m4 b/ghc/aclocal.m4 index a364788..e7b9bbe 100644 --- a/ghc/aclocal.m4 +++ b/ghc/aclocal.m4 @@ -22,6 +22,10 @@ AC_SUBST([ProjectVersionInt]) # The project patchlevel is zero unless stated otherwise test -z "$ProjectPatchLevel" && ProjectPatchLevel=0 + +# Remove dots from the patch level; this allows us to have versions like 6.4.1.20050508 +ProjectPatchLevel=`echo $ProjectPatchLevel | sed 's/\.//'` + AC_SUBST([ProjectPatchLevel]) ])# FP_SETUP_PROJECT_INFO -- 1.7.10.4