Commit 28e20077 authored by Yang Tse's avatar Yang Tse
Browse files

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

parent 802f1e44
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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])