X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fconfigure.ac;h=d29e847b1a8eaf6ce3dacc93027a0920acc8106d;hb=8504635323bc4c2d7ade98771a4e281c2d56761c;hp=a7b74e130017663ef1b724d0b036e8bc382ff4a0;hpb=d41a97b89d2248800286f65543e3aa118bc8ddee;p=ghc-hetmet.git diff --git a/ghc/configure.ac b/ghc/configure.ac index a7b74e1..d29e847 100644 --- a/ghc/configure.ac +++ b/ghc/configure.ac @@ -1,16 +1,8 @@ # Initialise and check sanity. -AC_INIT([Glasgow Haskell Compiler], [6.3], [glasgow-haskell-bugs@haskell.org], [ghc]) +AC_INIT([The Glorious Glasgow Haskell Compilation System], [6.3.20041107], [glasgow-haskell-bugs@haskell.org], [ghc]) AC_CONFIG_SRCDIR([ghc.spec.in]) -# Calculate project version as an integer, using 2 digits for minor version -case $PACKAGE_VERSION in - *.?) ProjectVersionInt=`echo "$PACKAGE_VERSION" | sed 's,^\(.*\)\.\(.\)$,\10\2,'` ;; - *.??) ProjectVersionInt=`echo "$PACKAGE_VERSION" | sed 's,^\(.*\)\.\(..\)$,\1\2,'` ;; - *.?.*) ProjectVersionInt=`echo "$PACKAGE_VERSION" | sed 's,^\(.*\)\.\(.\)\.\(.*\)$,\10\2,'` ;; - *.??.*) ProjectVersionInt=`echo "$PACKAGE_VERSION" | sed 's,^\(.*\)\.\(..\)\.\(.*\)$,\1\2,'` ;; - *) AC_MSG_ERROR([bad package version $PACKAGE_VERSION]) ;; -esac -AC_SUBST([ProjectVersionInt]) +FP_SETUP_PROJECT_INFO # Hmmm, we fix the RPM release number to 1 here... Is this convenient? AC_SUBST([release], [1])