do not check if gmtime_r usage is allowed when a previous check has failed

This commit is contained in:
Yang Tse 2008-09-11 04:15:43 +00:00
parent 802f1e4406
commit 28e2007767

View File

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