configure.in

changeset 3203
893dc8ee2385
parent 3194
9404dfabed94
child 3247
7cb8d740459a
--- a/configure.in	Sat May 04 02:06:24 2002 +0000
+++ b/configure.in	Sat May 04 03:34:46 2002 +0000
@@ -257,6 +257,18 @@
 fi
 AC_SUBST(XSS_LIBS)
 
+AC_DEFUN(GC_TM_GMTOFF,
+[AC_REQUIRE([AC_STRUCT_TM])dnl
+AC_CACHE_CHECK([for tm_gmtoff in struct tm], ac_cv_struct_tm_gmtoff,
+[AC_TRY_COMPILE([#include <sys/types.h>
+#include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_gmtoff;],
+  ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)])
+if test "$ac_cv_struct_tm_gmtoff" = yes; then
+  AC_DEFINE(HAVE_TM_GMTOFF)
+fi
+])
+
+GC_TM_GMTOFF
 
 
 dnl This was taken straight from X-Chat.

mercurial