From 28e2007767054351a914941ab09374bfa7dfa381 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 11 Sep 2008 04:15:43 +0000 Subject: do not check if gmtime_r usage is allowed when a previous check has failed --- m4/curl-functions.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4 index 162e1f6ac..8973e968e 100644 --- a/m4/curl-functions.m4 +++ b/m4/curl-functions.m4 @@ -308,7 +308,8 @@ AC_DEFUN([CURL_CHECK_FUNC_GMTIME_R], [ ]) fi # - if test "$tst_works_gmtime_r" != "no"; then + if test "$tst_compi_gmtime_r" = "yes" && + test "$tst_works_gmtime_r" != "no"; then AC_MSG_CHECKING([if gmtime_r usage allowed]) if test "x$curl_disallow_gmtime_r" != "xyes"; then AC_MSG_RESULT([yes]) -- cgit v1.2.3