X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fconfigure.ac;h=efbf7d0c974f07d986e4998485ec26bdfe86eabf;hb=d1f512dc5379536f0b75ab7e7be5933d0226b0ec;hp=31d06a6128cf9c52c86bab7d03a503e3e005f567;hpb=13ec31c00cdb714370077c8b0a3805452609315d;p=ghc-hetmet.git diff --git a/ghc/configure.ac b/ghc/configure.ac index 31d06a6..efbf7d0 100644 --- a/ghc/configure.ac +++ b/ghc/configure.ac @@ -1,13 +1,9 @@ # Initialise and check sanity. AC_INIT([ghc.spec.in]) -# Compute the version number. -version=`sed -e 's/.*\([[0-9]]\)\.\([[0-9]]*\).*/\1.\2/' VERSION` -patchlevel=1 - -# These are needed by the .spec file. -AC_SUBST(version) -AC_SUBST(patchlevel) +# Compute the version number and the release, they are needed by the .spec file. +AC_SUBST([version], [[`sed 's/.* version \([0-9][0-9.]*\).*/\1/' VERSION`]]) +AC_SUBST([release], [1]) # Write the results... AC_OUTPUT([ghc.spec])