Displaying 1 result from an estimated 1 matches for "want_r_profiling".
2005 Jan 19
1
Re: [R-SIG-Mac] Formatting of time zone for POSIXct
...ten 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 patch makes sure we know that struct tm.tm_zone exists
and the other patch makes sure it's reset before calling strftime. Any
variation hereof would help, too ;)
> Changing the TZ environment variable, from the default of &qu...