Commit e053d97b authored by Radford Neal's avatar Radford Neal

use system zlib, bzlib, pcre by default

parent 21e6951e
......@@ -468,17 +468,17 @@ AC_ARG_WITH([libtiff],
[R_ARG_USE(libtiff)],
[use_libtiff=yes])
AC_ARG_WITH([system-zlib],
[AS_HELP_STRING([--with-system-zlib],[use system zlib library (if available) @<:@no@:>@])],
[AS_HELP_STRING([--with-system-zlib],[use system zlib library (if available) @<:@yes@:>@])],
[R_ARG_USE_SYSTEM(zlib)],
[use_system_zlib=no])
[use_system_zlib=yes])
AC_ARG_WITH([system-bzlib],
[AS_HELP_STRING([--with-system-bzlib],[use system bzlib library (if available) @<:@no@:>@])],
[AS_HELP_STRING([--with-system-bzlib],[use system bzlib library (if available) @<:@yes@:>@])],
[R_ARG_USE_SYSTEM(bzlib)],
[use_system_bzlib=no])
[use_system_bzlib=yes])
AC_ARG_WITH([system-pcre],
[AS_HELP_STRING([--with-system-pcre],[use system PCRE library (if available) @<:@no@:>@])],
[AS_HELP_STRING([--with-system-pcre],[use system PCRE library (if available) @<:@yes@:>@])],
[R_ARG_USE_SYSTEM(pcre)],
[use_system_pcre=no])
[use_system_pcre=yes])
AC_ARG_WITH([system-xz],
[AS_HELP_STRING([--with-system-xz],[use system xz (lzma) library (if available) @<:@yes@:>@])],
[R_ARG_USE_SYSTEM(xz)],
......
......@@ -94,6 +94,16 @@
is detected is not safe, since bad maintenance of the protection
stack can lead to garbage collection of objects that are still
in use, and thence to arbitrary memory corruption.
\item As in R-3.2.0: \command{configure} options \option{--with-system-zlib},
\option{--with-system-bzlib} and \option{--with-system-pcre} are
now the default. For the time being there is fallback to the
versions included in the \R sources if no system versions are
found or (unlikely) if they are too old.
Linux users should check that the \code{-devel} or \code{-dev}
versions of packages \pkg{zlib}, \pkg{bzip2}/\pkg{libbz2} and
\pkg{pcre} as well as \pkg{xz-devel}/\pkg{liblzma-dev} (or
similar names) are installed.
}}
\subsection{PERFORMANCE IMPROVEMENTS}{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment