[project @ 2005-05-09 09:00:04 by simonmar]
authorsimonmar <unknown>
Mon, 9 May 2005 09:00:04 +0000 (09:00 +0000)
committersimonmar <unknown>
Mon, 9 May 2005 09:00:04 +0000 (09:00 +0000)
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

index a364788..e7b9bbe 100644 (file)
@@ -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