From: Daniel Stenberg Date: Sat, 5 Nov 2022 12:42:06 +0000 (+0100) Subject: configure: require fork for NTLM-WB X-Git-Tag: curl-7_87_0~203 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=592107fa16781db47e61618e503bac2e2ea68c9e;p=thirdparty%2Fcurl.git configure: require fork for NTLM-WB Reported-by: ウさん Fixes #9847 Closes #9856 --- diff --git a/configure.ac b/configure.ac index be1d4d405d..8f161254ba 100644 --- a/configure.ac +++ b/configure.ac @@ -3536,6 +3536,7 @@ AC_CHECK_DECLS([getpwuid_r], [], [AC_DEFINE(HAVE_DECL_GETPWUID_R_MISSING, 1, "Se AC_CHECK_FUNCS([fnmatch \ fchmod \ + fork \ geteuid \ getpass_r \ getppid \ diff --git a/m4/curl-confopts.m4 b/m4/curl-confopts.m4 index 301e2d460b..f5d2d2cce3 100644 --- a/m4/curl-confopts.m4 +++ b/m4/curl-confopts.m4 @@ -618,6 +618,9 @@ AC_DEFUN([CURL_CHECK_NTLM_WB], [ test "x$SSL_ENABLED" = "x"; then want_ntlm_wb_file="" want_ntlm_wb="no" + elif test "x$ac_cv_func_fork" != "xyes"; then + dnl ntlm_wb requires fork + want_ntlm_wb="no" fi AC_MSG_RESULT([$want_ntlm_wb]) if test "$want_ntlm_wb" = "yes"; then