Ticket #67177: 84049.patch

File 84049.patch, 2.8 KB (added by ryandesign (Ryan Carsten Schmidt), 18 months ago)
  • trunk/configure

     
    5168051680done
    5168151681
    5168251682if test "x${have_libcurl}" = "xyes"; then
    51683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libcurl is version 7 and >= 7.28.0" >&5
    51684 printf %s "checking if libcurl is version 7 and >= 7.28.0... " >&6; }
     51683{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libcurl is >= 7.28.0" >&5
     51684printf %s "checking if libcurl is >= 7.28.0... " >&6; }
    5168551685if test ${r_cv_have_curl728+y}
    5168651686then :
    5168751687  printf %s "(cached) " >&6
     
    5169951699{
    5170051700#ifdef LIBCURL_VERSION_MAJOR
    5170151701#if LIBCURL_VERSION_MAJOR > 7
    51702   exit(1);
     51702  exit(0);
    5170351703#elif LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR >= 28
    5170451704  exit(0);
    5170551705#else
  • trunk/doc/manual/R-admin.texi

     
    33443344@c libcurl 7.28.0 was released in Oct 2012
    33453345@c libcurl 7.32.0 was released in Aug 2013
    33463346@c Ubuntu 14.04LTS has 7.35.0  RHEL/Centos 7 has 7.29.0 (we are told)
    3347 Library @code{libcurl} (version 7.28.0 or later@footnote{but not a major
    3348 version greater than 7 should there ever be one: the major version has
    3349 been 7 since 2000.}) is required.  Information on @code{libcurl} is
    3350 found from the @command{curl-config} script: if that is missing or needs
    3351 to be overridden@footnote{for example to specify static linking with a
    3352 build which has both shared and static libraries.} there are macros to
    3353 do so described in file @file{config.site}.
     3347Library @code{libcurl} (version 7.28.0 or later) is required.
     3348Information on @code{libcurl} is found from the @command{curl-config}
     3349script: if that is missing or needs to be overridden@footnote{for
     3350example to specify static linking with a build which has both shared and
     3351static libraries.} there are macros to do so described in file
     3352@file{config.site}.
    33543353
    33553354A @command{tar} program is needed to unpack the sources and packages
    33563355(including the recommended packages).  A version@footnote{Such as
  • trunk/m4/R.m4

     
    46204620AC_CHECK_HEADERS(curl/curl.h, [have_libcurl=yes], [have_libcurl=no])
    46214621
    46224622if test "x${have_libcurl}" = "xyes"; then
    4623 AC_CACHE_CHECK([if libcurl is version 7 and >= 7.28.0], [r_cv_have_curl728],
     4623AC_CACHE_CHECK([if libcurl is >= 7.28.0], [r_cv_have_curl728],
    46244624[AC_RUN_IFELSE([AC_LANG_SOURCE([[
    46254625#include <stdlib.h>
    46264626#include <curl/curl.h>
     
    46284628{
    46294629#ifdef LIBCURL_VERSION_MAJOR
    46304630#if LIBCURL_VERSION_MAJOR > 7
    4631   exit(1);
     4631  exit(0);
    46324632#elif LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR >= 28
    46334633  exit(0);
    46344634#else