$NetBSD: patch-configure,v 1.22 2025/11/05 09:30:19 wiz Exp $ Fix test(1) operator. https://github.com/curl/curl/pull/19371 --- configure.orig 2025-11-05 09:11:06.215617475 +0000 +++ configure @@ -28073,10 +28073,10 @@ else $as_nop fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - if test "x$build_for_apple" == "xno"; then + if test "x$build_for_apple" = "xno"; then as_fn_error $? "Apple SecTrust can only be enabled for Apple OS targets" "$LINENO" 5 fi - if test "x$OPENSSL_ENABLED" == "x1" -o "x$GNUTLS_ENABLED" == "x1"; then + if test "x$OPENSSL_ENABLED" = "x1" -o "x$GNUTLS_ENABLED" = "x1"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; }