Displaying 1 result from an estimated 1 matches for "r_sys_posix_leapsecond".
Did you mean:
r_sys_posix_leapseconds
2005 Jan 19
1
Re: [R-SIG-Mac] Formatting of time zone for POSIXct
...sys/param.h sys/select.h sys/socket.h sys/stat.h sys/time.h \
- sys/times.h sys/utsname.h unistd.h)
+ sys/times.h sys/utsname.h time.h unistd.h)
## </NOTE>
## <NOTE>
## These are ANSI C headers but some C code (written to work also
@@ -1333,6 +1333,13 @@
## POSIX times.
R_SYS_POSIX_LEAPSECONDS
+dnl some Solaris systems don't have a tm_zone member in struct tm.
+AC_CHECK_MEMBERS([struct tm.tm_zone],,,[
+#if defined(HAVE_TIME_H)
+#include <time.h>
+#endif
+])
+
## R profiling.
if test "${want_R_profiling}" = yes; then
AC_CHECK_FUNCS(setitimer,
The configure p...