define GMTIME_R to 0 if not working

This commit is contained in:
Daniel Stenberg 2005-05-16 14:53:48 +00:00
parent 3f16d9fbc9
commit aaace2e802
1 changed files with 1 additions and 0 deletions

View File

@ -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)
])