aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-08 19:25:46 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-08 19:25:46 +0000
commit026db9217d89c7cc7069d663ec4ec1860c15fc39 (patch)
tree9ab5837577c95707c5babca0bd538e522bced2da /configure.ac
parent6878c22ebb835969239cf1792133118ccfd1afdc (diff)
downloadgnunet-026db9217d89c7cc7069d663ec4ec1860c15fc39.tar.gz
gnunet-026db9217d89c7cc7069d663ec4ec1860c15fc39.zip
-test for tm_gmtoff and use it instead of 'timezone' as suggested by GNU libc manual
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4ae54482d..d901efc4a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -203,6 +203,13 @@ AC_CHECK_LIB(socket, socket)
203AC_CHECK_LIB(m, log) 203AC_CHECK_LIB(m, log)
204AC_CHECK_LIB(c, getloadavg, AC_DEFINE(HAVE_GETLOADAVG,1,[getloadavg supported])) 204AC_CHECK_LIB(c, getloadavg, AC_DEFINE(HAVE_GETLOADAVG,1,[getloadavg supported]))
205 205
206
207AC_CHECK_MEMBER(struct tm.tm_gmtoff,
208 [AC_DEFINE(HAVE_TM_GMTOFF, 1,
209 [Define if struct tm has the tm_gmtoff member.])],
210 ,
211 [#include <time.h>])
212
206# 'save' libs; only those libs found so far will be 213# 'save' libs; only those libs found so far will be
207# linked against _everywhere_. For the others, we 214# linked against _everywhere_. For the others, we
208# will be more selective! 215# will be more selective!