[glib/glib-2-28] Fix the tm.tm_gmtoff check



commit f1d5501bd7a57fe23f9081119d5849a884dcc64a
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 12 22:23:04 2011 -0500

    Fix the tm.tm_gmtoff check

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c034d4b..08aeee7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -875,7 +875,7 @@ AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_blocks, struct statfs.f
 #endif])
 # struct statvfs.f_basetype is available on Solaris but not for Linux. 
 AC_CHECK_MEMBERS([struct statvfs.f_basetype],,, [#include <sys/statvfs.h>])
-AC_CHECK_MEMBERS([struct tm.tm_gmtoff])
+AC_CHECK_MEMBERS([struct tm.tm_gmtoff, struct tm.__tm_gmtoff],,,[#include <time.h>])
 
 # Checks for libcharset
 AM_LANGINFO_CODESET



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]