[libxslt] check for gmtime - on mingw* hosts will enable date-time function
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxslt] check for gmtime - on mingw* hosts will enable date-time function
- Date: Thu, 16 Aug 2012 13:19:36 +0000 (UTC)
commit a2051bf912d8e96e5b7407fde237cfbdc590ce1e
Author: Roumen Petrov <bugtrack roumenpetrov info>
Date: Sun Feb 26 18:36:27 2012 +0200
check for gmtime - on mingw* hosts will enable date-time function
config.h.in | 3 +++
configure.in | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/config.h.in b/config.h.in
index 2f9f973..9cadf4b 100644
--- a/config.h.in
+++ b/config.h.in
@@ -36,6 +36,9 @@
/* Define to 1 if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
+/* Define to 1 if you have the `gmtime' function. */
+#undef HAVE_GMTIME
+
/* Define to 1 if you have the `gmtime_r' function. */
#undef HAVE_GMTIME_R
diff --git a/configure.in b/configure.in
index e5e7c81..2361694 100644
--- a/configure.in
+++ b/configure.in
@@ -244,7 +244,7 @@ AC_CHECK_FUNC(fabs, , AC_CHECK_LIB(m, fabs,
AC_CHECK_FUNCS(gettimeofday)
-AC_CHECK_FUNCS(mktime localtime localtime_r asctime time gmtime_r ftime)
+AC_CHECK_FUNCS(mktime localtime localtime_r asctime time gmtime gmtime_r ftime)
dnl Checking the standard string functions availability
AC_CHECK_FUNCS(printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf,,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]