Commit c3c05085 authored by Radford Neal's avatar Radford Neal

Files from R-2.14.0.

parent 2779b419

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

This diff is collapsed.
...@@ -29,6 +29,7 @@ Makeconf: $(srcdir)/Makeconf.in $(top_builddir)/config.status ...@@ -29,6 +29,7 @@ Makeconf: $(srcdir)/Makeconf.in $(top_builddir)/config.status
@cd $(top_builddir) && $(SHELL) ./config.status $@ @cd $(top_builddir) && $(SHELL) ./config.status $@
ACLOCAL_M4 = aclocal.m4 ACLOCAL_M4 = aclocal.m4
## NB: this is duplicated in m4/Makefile.in
ACINCLUDE_DEPENDENCIES = \ ACINCLUDE_DEPENDENCIES = \
m4/R.m4 \ m4/R.m4 \
m4/bigendian.m4 \ m4/bigendian.m4 \
...@@ -37,7 +38,8 @@ ACINCLUDE_DEPENDENCIES = \ ...@@ -37,7 +38,8 @@ ACINCLUDE_DEPENDENCIES = \
m4/codeset.m4 \ m4/codeset.m4 \
m4/gettext.m4 m4/gettext-lib.m4 \ m4/gettext.m4 m4/gettext-lib.m4 \
m4/java.m4 \ m4/java.m4 \
m4/libtool.m4 m4/ltoptions.m4 m4/ltversion.m4 m4/ltsugar.m4 m4/lt~obsolete.m4 m4/libtool.m4 m4/ltoptions.m4 m4/ltversion.m4 m4/ltsugar.m4 m4/lt~obsolete.m4 \
m4/stat-time.m4
CONFIGURE_DEPENDENCIES = $(srcdir)/VERSION CONFIGURE_DEPENDENCIES = $(srcdir)/VERSION
config.status: $(srcdir)/configure config.status: $(srcdir)/configure
@$(SHELL) ./config.status --recheck @$(SHELL) ./config.status --recheck
...@@ -195,15 +197,17 @@ distdir: $(DISTFILES) vignettes ...@@ -195,15 +197,17 @@ distdir: $(DISTFILES) vignettes
| (cd $(distdir); $(TAR) -x -f -)) \ | (cd $(distdir); $(TAR) -x -f -)) \
|| exit 1; \ || exit 1; \
done done
@cp library/grid/doc/*.pdf $(distdir)/src/library/grid/inst/doc @for d in grid parallel utils; do \
@cp library/utils/doc/*.pdf $(distdir)/src/library/utils/inst/doc mkdir -p $(distdir)/src/library/$${d}/inst/doc; \
cp library/$${d}/doc/*.pdf $(distdir)/src/library/$${d}/inst/doc; \
done
@(cd $(distdir); tools/link-recommended) @(cd $(distdir); tools/link-recommended)
dvi info pdf: info pdf:
-@(cd doc && $(MAKE) $@) -@(cd doc && $(MAKE) $@)
install-dvi install-info install-pdf: install-info install-pdf:
-@(cd doc/manual && $(MAKE) $@) -@(cd doc/manual && $(MAKE) $@)
uninstall-dvi uninstall-info uninstall-pdf: uninstall-info uninstall-pdf:
-@(cd doc/manual && $(MAKE) $@) -@(cd doc/manual && $(MAKE) $@)
install-tests: install-tests:
...@@ -220,23 +224,4 @@ check check-devel check-all check-recommended: ...@@ -220,23 +224,4 @@ check check-devel check-all check-recommended:
reset-recommended: reset-recommended:
@(cd src/library/Recommended && $(MAKE) clean) @(cd src/library/Recommended && $(MAKE) clean)
## This is a temporary target -- we'll do a better job soon
bytecode: all
@if test ! -e $(top_builddir)/library/compiler; \
then $(ECHO) "install the compiler first"; exit 1; fi
exit
@for pkg in $(R_PKGS_BASE); do \
$(ECHO) compiling code in package \"$${pkg}\"; \
touch $(top_builddir)/src/library/$${pkg}/all.R; \
(cd $(top_builddir)/src/library/$${pkg}; \
R_COMPILE_PKGS=1 R_COMPILER_SUPPRESS_ALL=1 $(MAKE)) \
done
@for pkg in $(R_PKGS_RECOMMENDED); do \
$(ECHO) compiling code in package \"$${pkg}\"; \
R_COMPILE_PKGS=1 R_COMPILER_SUPPRESS_ALL=1 \
$(top_builddir)/bin/R CMD INSTALL \
-l $(top_builddir)/library \
$(srcdir)/src/library/Recommended/$${pkg}.tgz; \
done
TAGS: TAGS:
This diff is collapsed.
No preview for this file type
Revision: 57111 Revision: 57496
Last Changed Date: 2011-09-30 Last Changed Date: 2011-10-31
This diff is collapsed.
...@@ -109,6 +109,9 @@ case "${host_os}" in ...@@ -109,6 +109,9 @@ case "${host_os}" in
esac esac
AC_SUBST(R_OSTYPE) AC_SUBST(R_OSTYPE)
R_CONFIG_ARGS="${ac_configure_args}"
AC_SUBST(R_CONFIG_ARGS)
### ** Defaults. ### ** Defaults.
## NB: autoconf loads such files too ## NB: autoconf loads such files too
...@@ -436,6 +439,15 @@ AC_ARG_WITH([ICU], ...@@ -436,6 +439,15 @@ AC_ARG_WITH([ICU],
[R_ARG_USE(ICU)], [R_ARG_USE(ICU)],
[use_ICU=yes]) [use_ICU=yes])
## Byte-compilation of packages.
AC_ARG_ENABLE([byte-compiled-packages],
[AS_HELP_STRING([--enable-byte-compiled-packages],
[byte-compile base and recommended packages @<:@yes@:>@])],
[want_byte_compiled_packages="${enableval}"],
[want_byte_compiled_packages=yes])
AM_CONDITIONAL(BYTE_COMPILE_PACKAGES,
[test "x${want_byte_compiled_packages}" = xyes])
### ** Precious variables. ### ** Precious variables.
AC_ARG_VAR([R_PRINTCMD], AC_ARG_VAR([R_PRINTCMD],
...@@ -731,8 +743,8 @@ AC_SUBST(READLINE_LIBS) ...@@ -731,8 +743,8 @@ AC_SUBST(READLINE_LIBS)
### * Checks for header files. ### * Checks for header files.
AC_HEADER_STDC AC_HEADER_STDC
AC_HEADER_TIME
AC_HEADER_DIRENT AC_HEADER_DIRENT
## we also assume readdir and closedir
if test "${ac_cv_search_opendir}" = "no"; then if test "${ac_cv_search_opendir}" = "no"; then
AC_MSG_ERROR([Building R requires the 'opendir' system call]) AC_MSG_ERROR([Building R requires the 'opendir' system call])
fi fi
...@@ -740,17 +752,26 @@ AC_HEADER_SYS_WAIT ...@@ -740,17 +752,26 @@ AC_HEADER_SYS_WAIT
## <NOTE> ## <NOTE>
## Some of these are also checked for when Autoconf computes the default ## Some of these are also checked for when Autoconf computes the default
## includes. ## includes.
##
## The following headers are POSIX: dlfcn.h fcntl.h glob.h grp.h
## pwd.h strings.h sys/resource.h sys/select.h sys/socket.h
## sys/stat.h sys/time.h sys/times.h sys/utsname.h unistd.h utime.h
## dl.h seems to be for HP-UX
## floatingpoint.h is on FreeBSD and Solaris, originating in SysV.
## (It is probably only used for fpsetmask on FreeBSD).
## fpu_control.h is only used on Linux, for the obsolete __setfpucw.
## sys/param.h is one way to get PATH_MAX.
AC_CHECK_HEADERS(arpa/inet.h dl.h dlfcn.h elf.h fcntl.h floatingpoint.h \ AC_CHECK_HEADERS(arpa/inet.h dl.h dlfcn.h elf.h fcntl.h floatingpoint.h \
fpu_control.h glob.h grp.h locale.h \ fpu_control.h glob.h grp.h netdb.h netinet/in.h pwd.h strings.h \
netdb.h netinet/in.h pwd.h strings.h \ sys/param.h sys/resource.h sys/select.h sys/socket.h \
sys/param.h sys/select.h sys/socket.h sys/stat.h sys/resource.h \ sys/stat.h sys/time.h sys/times.h sys/utsname.h unistd.h utime.h)
sys/time.h sys/times.h sys/utsname.h time.h unistd.h)
## </NOTE> ## </NOTE>
## <NOTE> ## <NOTE>
## These are C99 headers but some C code (written to work also ## These are C99 headers but some C code (written to work also
## without assuming C99) may need the corresponding conditionals. ## without assuming C99) may need the corresponding conditionals.
AC_CHECK_HEADERS(errno.h inttypes.h limits.h stdarg.h stdbool.h \ AC_CHECK_HEADERS(errno.h inttypes.h limits.h locale.h stdarg.h stdbool.h \
stdint.h string.h) stdint.h string.h)
## only vsnprintf.c requires stdarg.h
## </NOTE> ## </NOTE>
R_HEADER_SETJMP R_HEADER_SETJMP
...@@ -801,10 +822,6 @@ AC_CHECK_SIZEOF(long long) ...@@ -801,10 +822,6 @@ AC_CHECK_SIZEOF(long long)
AC_CHECK_SIZEOF(double) AC_CHECK_SIZEOF(double)
AC_CHECK_SIZEOF(long double) AC_CHECK_SIZEOF(long double)
AC_CHECK_SIZEOF(size_t) AC_CHECK_SIZEOF(size_t)
dnl AC_CHECK_SIZEOF(time_t, [
dnl #include <stdio.h>
dnl #include <time.h>
dnl ])
R_PROG_CC_MAKEFRAG R_PROG_CC_MAKEFRAG
R_PROG_CC_LO_MAKEFRAG R_PROG_CC_LO_MAKEFRAG
...@@ -839,6 +856,14 @@ AC_LANG_POP(C++) ...@@ -839,6 +856,14 @@ AC_LANG_POP(C++)
R_PROG_OBJC_MAKEFRAG R_PROG_OBJC_MAKEFRAG
R_PROG_OBJC_RUNTIME R_PROG_OBJC_RUNTIME
## FSF builds of gcc (and maybe others?) need -fobjc-exceptions otherwise
## @try and friends don't work
R_PROG_OBJC_FLAG([-fobjc-exceptions],
R_SH_VAR_ADD(OBJCFLAGS, [-fobjc-exceptions]))
## FIXME: checks for Foundation are not darwin-specifc at all. In fact the whole
## point of R_OBJC_FOUNDATION is to detect foundation classes on other
## platforms (on Darwin we already *know* that is it -framework Foundation
## but not so on Linux!), so the following was not intended to be conditonal.
case "${host_os}" in case "${host_os}" in
darwin*) darwin*)
R_OBJC_FOUNDATION R_OBJC_FOUNDATION
...@@ -1062,6 +1087,8 @@ AC_SUBST(OBJC_LIBS) ...@@ -1062,6 +1087,8 @@ AC_SUBST(OBJC_LIBS)
AC_SUBST(OBJCFLAGS) AC_SUBST(OBJCFLAGS)
AC_SUBST(OBJCXXFLAGS) AC_SUBST(OBJCXXFLAGS)
R_ABI
### ** DLL stuff. ### ** DLL stuff.
## We need to determine the following: ## We need to determine the following:
...@@ -1716,9 +1743,6 @@ fi ...@@ -1716,9 +1743,6 @@ fi
## isblank should be a macro according to C99. It was missing on Solaris 8 ## isblank should be a macro according to C99. It was missing on Solaris 8
AC_CHECK_FUNCS(isblank) AC_CHECK_FUNCS(isblank)
## time is C89
R_CHECK_FUNCS([time], [#include <time.h>])
## fseeko/ftello are POSIX, may be macros ## fseeko/ftello are POSIX, may be macros
## matherr is SVID, redefined in arithmetic.c if present ## matherr is SVID, redefined in arithmetic.c if present
AC_CHECK_FUNCS(fseeko ftello matherr) AC_CHECK_FUNCS(fseeko ftello matherr)
...@@ -1727,24 +1751,33 @@ AC_CHECK_FUNCS(fseeko ftello matherr) ...@@ -1727,24 +1751,33 @@ AC_CHECK_FUNCS(fseeko ftello matherr)
R_CHECK_FUNCS([fcntl], [#include <fcntl.h>]) R_CHECK_FUNCS([fcntl], [#include <fcntl.h>])
R_CHECK_FUNCS([getgrgid], [#include <grp.h>]) R_CHECK_FUNCS([getgrgid], [#include <grp.h>])
R_CHECK_FUNCS([getpwuid], [#include <pwd.h>]) R_CHECK_FUNCS([getpwuid], [#include <pwd.h>])
R_CHECK_FUNCS([sigaction sigaltstack sigemptyset], [#include <signal.h>]) R_CHECK_FUNCS([kill sigaction sigaltstack sigemptyset], [#include <signal.h>])
R_CHECK_FUNCS([fdopen popen], [#include <stdio.h>]) R_CHECK_FUNCS([fdopen popen], [#include <stdio.h>])
if test "${ac_cv_have_decl_popen}" = "no"; then if test "${ac_cv_have_decl_popen}" = "no"; then
AC_MSG_ERROR([Building R requires the 'popen' system call]) AC_MSG_ERROR([Building R requires the 'popen' system call])
fi fi
## Windows has neither setenv nor unsetenv ## Windows has neither setenv nor unsetenv
R_CHECK_FUNCS([setenv unsetenv], [#include <stdlib.h>]) R_CHECK_FUNCS([setenv unsetenv], [#include <stdlib.h>])
R_CHECK_FUNCS([getrlimit getrusage], [#include <sys/resource.h>]) R_CHECK_FUNCS([getrlimit getrusage getpriority], [#include <sys/resource.h>])
R_CHECK_FUNCS([chmod mkfifo stat umask], [#include <sys/stat.h>]) R_CHECK_FUNCS([chmod mkfifo stat umask], [#include <sys/stat.h>])
if test "${ac_cv_have_decl_stat}" = "no"; then if test "${ac_cv_have_decl_stat}" = "no"; then
AC_MSG_ERROR([Building R requires the 'stat' system call]) AC_MSG_ERROR([Building R requires the 'stat' system call])
fi fi
R_CHECK_FUNCS([gettimeofday], [#include <sys/time.h>]) R_CHECK_FUNCS([gettimeofday utimes], [#include <sys/time.h>])