[commit: ghc] master: Fix #8675 (e4a4aba)

git at git.haskell.org git at git.haskell.org
Fri Jan 17 16:50:06 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/e4a4abae21d14a6c1a4ae875fa582e2b389dc177/ghc

>---------------------------------------------------------------

commit e4a4abae21d14a6c1a4ae875fa582e2b389dc177
Author: Austin Seipp <austin at well-typed.com>
Date:   Fri Jan 17 10:49:21 2014 -0600

    Fix #8675
    
    Haddock no longer has a generated parser, so we don't need it in the
    sdist and we certainly don't want to check for it in the ./configure
    script (as that would be bogus.)
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


>---------------------------------------------------------------

e4a4abae21d14a6c1a4ae875fa582e2b389dc177
 aclocal.m4 |    5 -----
 ghc.mk     |    2 --
 2 files changed, 7 deletions(-)

diff --git a/aclocal.m4 b/aclocal.m4
index 98f3e3d..63e8462 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -898,11 +898,6 @@ then
     FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[3.1.0],
       [AC_MSG_ERROR([Alex version 3.1.0 or later is required to compile GHC.])])[]
 fi
-if test ! -f utils/haddock/src/Haddock/Lex.hs
-then
-    FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[3.0],
-      [AC_MSG_ERROR([Alex version 3.0 or later is required to compile Haddock.])])[]
-fi
 AlexVersion=$fptools_cv_alex_version;
 AC_SUBST(AlexVersion)
 AC_SUBST(Alex3)
diff --git a/ghc.mk b/ghc.mk
index dd91a82..f48714e 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -1136,8 +1136,6 @@ sdist-ghc-prep :
 	$(call sdist_ghc_file,utils/hpc,dist-install,,,HpcParser,y)
 	$(call sdist_ghc_file,utils/genprimopcode,dist,,,Lexer,x)
 	$(call sdist_ghc_file,utils/genprimopcode,dist,,,Parser,y)
-	$(call sdist_ghc_file,utils/haddock,dist,src,Haddock,Lex,x)
-	$(call sdist_ghc_file,utils/haddock,dist,src,Haddock,Parse,y)
 	cd $(SRC_DIST_GHC_DIR) && "$(FIND)" $(SRC_DIST_GHC_DIRS) \( -name .git -o -name "autom4te*" -o -name "*~" -o -name "\#*" -o -name ".\#*" -o -name "log" -o -name "*-SAVE" -o -name "*.orig" -o -name "*.rej" \) -print | "$(XARGS)" $(XARGS_OPTS) "$(RM)" $(RM_OPTS_REC)
 
 .PHONY: sdist-windows-tarballs-prep



More information about the ghc-commits mailing list