From: simonmar Date: Mon, 9 May 2005 09:00:04 +0000 (+0000) Subject: [project @ 2005-05-09 09:00:04 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~588 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=b6dbc3491780f00bedbbf836efd9b8ca1cda040c;p=ghc-hetmet.git [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. --- 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