$NetBSD$ --- ../ghc-6.4.2/configure.orig 2006-04-19 04:36:55.000000000 +0900 +++ ../ghc-6.4.2/configure @@ -2377,20 +2377,12 @@ fi exit 1 else $PerlCmd -v >conftest.out 2>&1 - if grep "v5.6" conftest.out >/dev/null 2>&1; then + if grep "v5." conftest.out >/dev/null 2>&1; then : else - if grep "v5.8" conftest.out >/dev/null 2>&1; then - : - else - if grep "version 6" conftest.out >/dev/null 2>&1; then - : - else - { { echo "$as_me:$LINENO: error: your version of perl probably won't work, try upgrading it." >&5 -echo "$as_me: error: your version of perl probably won't work, try upgrading it." >&2;} - { (exit 1); exit 1; }; } - fi - fi + { { echo "$as_me:$LINENO: error: your version of perl probably won't work, try upgrading it." >&5 + echo "$as_me: error: your version of perl probably won't work, try upgrading it." >&2; } + { (exit 1); exit 1; }; } fi rm -fr conftest* @@ -6134,11 +6126,11 @@ echo "$as_me:$LINENO: result: $ac_cv_hea echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6 fi -if test $ac_cv_header_readline_readline_h = yes; then - HaveReadlineReadlineH=YES -else +#if test $ac_cv_header_readline_readline_h = yes; then +# HaveReadlineReadlineH=YES +#else HaveReadlineReadlineH=NO -fi +#fi if test "${ac_cv_header_readline_history_h+set}" = set; then @@ -6270,11 +6262,11 @@ echo "$as_me:$LINENO: result: $ac_cv_hea echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6 fi -if test $ac_cv_header_readline_history_h = yes; then - HaveReadlineHistoryH=YES -else +#if test $ac_cv_header_readline_history_h = yes; then +# HaveReadlineHistoryH=YES +#else HaveReadlineHistoryH=NO -fi +#fi