[project @ 2005-05-09 09:00:04 by simonmar]
[ghc-hetmet.git] / 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