Skip to content
Prev 3645 / 63424 Next

Perl v5.6.0 breaks the configure script

Guess this means that I am not an autoconf expert any more.
I also think we should not assume that English is there.

Anyway, I tried adding a line of code to configure.in which uses $], but
I failed miserably ... I would either get M4 syntax errors or not get
the `]'.  Hence, I changed the test to

    AC_CACHE_CHECK([whether perl version is at least 5],
      r_cv_prog_perl_v5,
      [ ${PERL} -e 'require 5' 2>/dev/null
        if test ${?} -eq 0; then
          r_cv_prog_perl_v5=yes
        else
          r_cv_prog_perl_v5=no
        fi
      ])

which I think should also do the job.

Changed in r-devel only.  If anyone thinks we should also do this in
r-release for 1.0.1, pls let me know && I will make the change (assuming
that the fix is correct).

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._