Ticket #10965: patch-configure.ac

File patch-configure.ac, 681 bytes (added by jon.olsson@…, 18 years ago)

Patch 2 needed with GHC 6.6

Line 
1--- configure.ac        2006-06-16 20:59:29.000000000 +0200
2+++ configure.ac        2006-11-02 15:33:40.000000000 +0100
3@@ -110,6 +110,7 @@
4 dnl Look for Text.Regex
5 
6 GHC_CHECK_MODULE(Text.Regex( mkRegex, matchRegex, Regex ), text, mkRegex undefined)
7+GHC_CHECK_MODULE(Text.Regex( mkRegex, matchRegex, Regex ), regex-compat, mkRegex undefined)
8 
9 dnl See if we need a package for QuickCheck
10 
11@@ -124,6 +125,10 @@
12 
13 GHC_CHECK_MODULE(Text.ParserCombinators.Parsec, parsec, errorPos undefined)
14 
15+dnl Check if we need package html
16+
17+GHC_CHECK_MODULE(Text.Html, html, text "foo")
18+
19 dnl Deal with systems on which getCurrentDirectory uses '\\' rather than '/':
20 
21 WORKAROUND_getCurrentDirectory