After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 681229 - configure check for gmtime - on mingw* hosts will enable date-time function
configure check for gmtime - on mingw* hosts will enable date-time function
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
git master
Other Windows
: Normal blocker
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2012-08-05 12:16 UTC by Roumen Petrov
Modified: 2012-08-16 13:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
configure check for gmtime (1.20 KB, patch)
2012-08-05 12:16 UTC, Roumen Petrov
none Details | Review

Description Roumen Petrov 2012-08-05 12:16:11 UTC
Created attachment 220359 [details] [review]
configure check for gmtime

Makefile  based windows build define HAVE_GMTIME see libxslt/win32config.h . 
Since configure script does not check for function gmtime, i.e. HAVE_GMTIME is not defined,  autoconf based builds will lack  date-time function.

Also HAVE_GMTIME_R, i.e. function gmtime_r, take precedence over HAVE_GMTIME - ref libexslt/date.c .
Comment 1 Daniel Veillard 2012-08-16 13:23:07 UTC
Okay, pushed too:

http://git.gnome.org/browse/libxslt/commit/?id=a2051bf912d8e96e5b7407fde237cfbdc590ce1e

  thanks !

Daniel