X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fconfigure.ac;h=9e4d6cd079cf310190941ebd5dec3ad57fb4e09a;hb=61ccfec175e1f51b2c89559faf91d9bee0b3b601;hp=a7b74e130017663ef1b724d0b036e8bc382ff4a0;hpb=d41a97b89d2248800286f65543e3aa118bc8ddee;p=ghc-hetmet.git diff --git a/ghc/configure.ac b/ghc/configure.ac index a7b74e1..9e4d6cd 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], [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])