Don't hardwire RELEASE into configure.ac
authorsven.panne@aedion.de <unknown>
Sat, 24 Feb 2007 18:01:23 +0000 (18:01 +0000)
committersven.panne@aedion.de <unknown>
Sat, 24 Feb 2007 18:01:23 +0000 (18:01 +0000)
Previously one had to edit configure.ac to build a release version. This is
evil, so one can now specify this on the configure invocation line like:

   RELEASE=YES ./configure

Note that non-released versions are still the default.

configure.ac

index a1a9861..8cf4d61 100644 (file)
@@ -16,7 +16,7 @@ dnl
 AC_INIT([The Glorious Glasgow Haskell Compilation System], [6.7], [glasgow-haskell-bugs@haskell.org], [ghc])
 
 # Set this to YES for a released version, otherwise NO
-RELEASE=NO
+: ${RELEASE=NO}
 
 # The primary version (e.g. 6.7, 6.6.1) is set in the AC_INIT line
 # above.  If this is not a released version, then we will append the