Differences From Artifact [fb7f68dd03]:
- File configure.ac — part of check-in [79b09ea934] at 2011-10-22 17:06:07 on branch trunk — Fix libobjc version check. (user: js, size: 16681) [annotate] [blame] [check-ins using]
To Artifact [fb0eab47f6]:
- File
configure.ac
— part of check-in
[4fc7884fb1]
at
2011-10-28 21:30:36
on branch trunk
— Parse struct tm ourselves.
This way, we don't need tm_gmtoff, which we would otherwise need to
adjust the value parsed by mktime, and don't need timegm either. (user: js, size: 16948) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
457 458 459 460 461 462 463 464 465 466 467 468 469 470 | AC_CHECK_FUNC(gmtime_r, [ AC_DEFINE(HAVE_GMTIME_R, 1, [Whether we have gmtime_r]) ]) AC_CHECK_FUNC(localtime_r, [ AC_DEFINE(HAVE_LOCALTIME_R, 1, [Whether we have localtime_r]) ]) AC_CHECK_FUNC(kqueue, [ AC_DEFINE(HAVE_KQUEUE, 1, [Whether we have kqueue]) AC_SUBST(OFSTREAMOBSERVER_KQUEUE_M, "OFStreamObserver_kqueue.m") ]) AC_CHECK_HEADER(poll.h, [ AC_DEFINE(HAVE_POLL_H, 1, [Whether we have poll.h]) | > > > > > > > > > > > > > > | 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 | AC_CHECK_FUNC(gmtime_r, [ AC_DEFINE(HAVE_GMTIME_R, 1, [Whether we have gmtime_r]) ]) AC_CHECK_FUNC(localtime_r, [ AC_DEFINE(HAVE_LOCALTIME_R, 1, [Whether we have localtime_r]) ]) AC_MSG_CHECKING(for tm_gmtoff in struct tm) AC_TRY_COMPILE([ #define _GNU_SOURCE #include <time.h> ], [ struct tm tm; tm.tm_gmtoff = 0; ], [ AC_DEFINE(STRUCT_TM_HAS_TM_GMTOFF, 1, [Whether struct tm has tm_gmtoff]) AC_MSG_RESULT(yes) ], [ AC_MSG_RESULT(no) ]) AC_CHECK_FUNC(kqueue, [ AC_DEFINE(HAVE_KQUEUE, 1, [Whether we have kqueue]) AC_SUBST(OFSTREAMOBSERVER_KQUEUE_M, "OFStreamObserver_kqueue.m") ]) AC_CHECK_HEADER(poll.h, [ AC_DEFINE(HAVE_POLL_H, 1, [Whether we have poll.h]) |
︙ | ︙ |