From aaace2e802eddf229e497dc6c4935e3a7be90d32 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Mon, 16 May 2005 14:53:48 +0000
Subject: [PATCH] define GMTIME_R to 0 if not working

---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 81c77dd5fd..0e161badae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1321,6 +1321,7 @@ if test x$cross_compiling != xyes; then
    dnl failure, now disable the function
    AC_MSG_RESULT(no)
    ac_cv_func_gmtime_r="no"
+   AC_DEFINE(HAVE_GMTIME_R, 0, [if you have gmtime_r])
    ,
    dnl not invoked when crosscompiling)
 ])
-- 
GitLab