aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-11 04:15:43 +0000
committerYang Tse <yangsita@gmail.com>2008-09-11 04:15:43 +0000
commit28e2007767054351a914941ab09374bfa7dfa381 (patch)
tree51ee7ab37d347501888ca5b5cb2590538467be08 /m4
parent802f1e44066b8be4612b97c58519de15d799e6b7 (diff)
do not check if gmtime_r usage is allowed when a previous check has failed
Diffstat (limited to 'm4')
-rw-r--r--m4/curl-functions.m43
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])