--- configure.orig Sun Aug 2 06:48:40 1998 +++ configure Fri Sep 8 00:13:50 2000 @@ -571,7 +571,7 @@ if test "${with_perl+set}" = set; then withval="$with_perl" perlprog=$with_perl -perlvers=`$perlprog -v | grep version | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'` +perlvers=`$perlprog -v | grep "This is perl" | sed -e 's/^.* version //' -e 's/^.* v//' -e 's/ built.*//' -e 's/ with.*//'` else TMPFILE=/tmp/x.$$ @@ -600,7 +600,7 @@ PATH_PERL=$perlprog echo "$ac_t""$perlprog v$perlvers" 1>&6 case $perlvers in - 5.003* | 5.004* | 5.005* | 5.006* ) + 5.003* | 5.004* | 5.005* | 5.006* | 5.6.*) ;; * ) echo "" echo "Latest Perl found on your system is $perlvers," @@ -617,6 +617,8 @@ perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/_//'` ;; 5.00[3-6] ) perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/$/00/'` ;; + 5.6.* ) + perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/\./0/' -e 's/$/00/'` ;; * ) perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/_//'` ;; esac