id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
3525,current dist source fail to build when Happy not found,kristerw,simonmar,"The daily source tarballs from http://www.haskell.org/ghc/dist/current/dist/ errors out at configure time if Happy is not found.  This error was introduced in the ghc-6.11.20090913-src.tar.bz2 source.

A workaround to make it compile is to modify the configure script as:
--- configure.orig	2009-09-17 23:07:01.000000000 +0200
+++ configure	2009-09-17 23:07:39.000000000 +0200
@@ -5605,7 +5605,7 @@
 fi
 { echo ""$as_me:$LINENO: result: $fptools_cv_happy_version"" >&5
 echo ""${ECHO_T}$fptools_cv_happy_version"" >&6; }
-if test ! -f compiler/parser/Parser.hs || test ! -f compiler/main/ParsePkgConf.hs || test ! -f compiler/cmm/CmmParse.hs || test ! -f compiler/parser/ParserCore.hs
+if test ! -f compiler/parser/Parser.hs || test ! -f compiler/cmm/CmmParse.hs || test ! -f compiler/parser/ParserCore.hs
 then
     fp_version1=$fptools_cv_happy_version; fp_version2=1.16
 fp_save_IFS=$IFS; IFS='.'
",bug,closed,normal,6.12.1,Build System,6.11,fixed,,,Unknown/Multiple,Unknown/Multiple,,Unknown,,,,
