OSSP CVS Repository

ossp - Difference in ossp-pkg/tai/tai.ac versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/tai/tai.ac 1.2 -> 1.3

--- tai.ac       2002/08/14 13:34:01     1.2
+++ tai.ac       2002/08/14 14:28:27     1.3
@@ -33,8 +33,15 @@
 dnl #     TAI_CHECK_ALL
 
 AC_DEFUN(TAI_CHECK_ALL,[
-    #   check for system functions
+    #   gmtime_r hack for Solaris (FIXME)
     CFLAGS="$CFLAGS -D_REENTRANT"
+
+    #   check for system functions
     AC_CHECK_FUNCS(gmtime_r timegm)
+
+    #   determine whether "tm_gmtoff" exists in "struct tm"
+    AC_CHECK_MEMBER(struct tm.tm_gmtoff, 
+                    AC_DEFINE(HAVE_TM_GMTOFF, 1, [Define to 1 if "struct tm" has "tm_gmtoff"]),,
+                    [#include <time.h>])
 ])
 

CVSTrac 2.0.1