check for gmtime - on mingw* hosts will enable date-time function
authorRoumen Petrov <bugtrack@roumenpetrov.info>
Sun, 26 Feb 2012 16:36:27 +0000 (18:36 +0200)
committerDaniel Veillard <veillard@redhat.com>
Thu, 16 Aug 2012 08:46:56 +0000 (16:46 +0800)
config.h.in
configure.in

index 2f9f973..9cadf4b 100644 (file)
@@ -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
 
index e5e7c81..2361694 100644 (file)
@@ -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,,