aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-05-16 14:53:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-05-16 14:53:48 +0000
commitaaace2e802eddf229e497dc6c4935e3a7be90d32 (patch)
treef382b251019288a37563cfc9864a872a63b6953c /configure.ac
parent3f16d9fbc90f0e28ef6947d7492010094512a14e (diff)
define GMTIME_R to 0 if not working
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 81c77dd5f..0e161bada 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)
])