From: Daniel Stenberg Date: Mon, 16 May 2005 14:53:48 +0000 (+0000) Subject: define GMTIME_R to 0 if not working X-Git-Tag: curl-7_14_1~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaace2e802eddf229e497dc6c4935e3a7be90d32;p=thirdparty%2Fcurl.git define GMTIME_R to 0 if not working --- 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) ])