]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/blob - patches/patch-ac
I tried building GHC 6.10.1 with GHC 6.4.2 but failed...
[pkgsrc-ghc.git] / patches / patch-ac
1 $NetBSD$
2
3 --- ../ghc-6.4.2/configure.orig 2006-04-19 04:36:55.000000000 +0900
4 +++ ../ghc-6.4.2/configure
5 @@ -2377,20 +2377,12 @@ fi
6        exit 1
7     else
8     $PerlCmd -v >conftest.out 2>&1
9 -   if grep "v5.6" conftest.out >/dev/null 2>&1; then
10 +   if grep "v5." conftest.out >/dev/null 2>&1; then
11        :
12     else
13 -      if grep "v5.8" conftest.out >/dev/null 2>&1; then
14 -         :
15 -      else
16 -         if grep "version 6" conftest.out >/dev/null 2>&1; then
17 -            :
18 -         else
19 -            { { echo "$as_me:$LINENO: error: your version of perl probably won't work, try upgrading it." >&5
20 -echo "$as_me: error: your version of perl probably won't work, try upgrading it." >&2;}
21 -   { (exit 1); exit 1; }; }
22 -         fi
23 -      fi
24 +      { { echo "$as_me:$LINENO: error: your version of perl probably won't work, try upgrading it." >&5
25 +          echo "$as_me: error: your version of perl probably won't work, try upgrading it." >&2; }
26 +        { (exit 1); exit 1; }; }
27     fi
28  rm -fr conftest*
29  
30 @@ -6134,11 +6126,11 @@ echo "$as_me:$LINENO: result: $ac_cv_hea
31  echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6
32  
33  fi
34 -if test $ac_cv_header_readline_readline_h = yes; then
35 -  HaveReadlineReadlineH=YES
36 -else
37 +#if test $ac_cv_header_readline_readline_h = yes; then
38 +#  HaveReadlineReadlineH=YES
39 +#else
40    HaveReadlineReadlineH=NO
41 -fi
42 +#fi
43  
44  
45  if test "${ac_cv_header_readline_history_h+set}" = set; then
46 @@ -6270,11 +6262,11 @@ echo "$as_me:$LINENO: result: $ac_cv_hea
47  echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6
48  
49  fi
50 -if test $ac_cv_header_readline_history_h = yes; then
51 -  HaveReadlineHistoryH=YES
52 -else
53 +#if test $ac_cv_header_readline_history_h = yes; then
54 +#  HaveReadlineHistoryH=YES
55 +#else
56    HaveReadlineHistoryH=NO
57 -fi
58 +#fi
59  
60  
61