[glib] Fix the tm.tm_gmtoff check



commit 498508852745d0e3b743b065d78ba560d753d24e
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 cb191f1..47331cf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -880,7 +880,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]