[Rd] Re: [R] Perl v5.6.0 breaks the configure script

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
07 Apr 2000 13:26:22 +0200


Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> writes:


> khornik@sim:~$ perl4 -e 'require 5' 2>/dev/null
> khornik@sim:~$ echo $?
> 2
...
> Good enough?

Hmmmf... Well if it can't be otherwise, but the *right* solution would
seem to be

if perl -e 'exit 1 if $]<5' 
then
  r_cv_prog_perl_v5=yes
else
  r_cv_prog_perl_v5=no
fi
 

if it weren't for that %/&/%# m4 problem... (I'll see what I can dig up) 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._