diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-11 04:15:43 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-11 04:15:43 +0000 |
commit | 28e2007767054351a914941ab09374bfa7dfa381 (patch) | |
tree | 51ee7ab37d347501888ca5b5cb2590538467be08 | |
parent | 802f1e44066b8be4612b97c58519de15d799e6b7 (diff) |
do not check if gmtime_r usage is allowed when a previous check has failed
-rw-r--r-- | m4/curl-functions.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
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]) |