From: Yang Tse Date: Thu, 11 Sep 2008 04:15:43 +0000 (+0000) Subject: do not check if gmtime_r usage is allowed when a previous check has failed X-Git-Tag: curl-7_19_1~378 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28e2007767054351a914941ab09374bfa7dfa381;p=curl do not check if gmtime_r usage is allowed when a previous check has failed --- 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])