]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure: require fork for NTLM-WB
authorDaniel Stenberg <daniel@haxx.se>
Sat, 5 Nov 2022 12:42:06 +0000 (13:42 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 5 Nov 2022 23:04:47 +0000 (00:04 +0100)
Reported-by: ウさん
Fixes #9847
Closes #9856

configure.ac
m4/curl-confopts.m4

index be1d4d405d728410eaf61bd8e7b067a93f3b5797..8f161254ba6e6f5ed343ffce4467e38995fb7f8b 100644 (file)
@@ -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 \
index 301e2d460bfc40f890f0514800b2ebd85a07593d..f5d2d2cce31fe9e6559262254523de5213a263a7 100644 (file)
@@ -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