$NetBSD: patch-configure,v 1.2 2025/02/20 14:28:46 manu Exp $ Shell equality test is = and not == --- configure.orig 2025-02-10 18:00:46.000000000 +0100 +++ configure 2025-02-18 15:34:34.476525275 +0100 @@ -6409,8 +6409,9 @@ if test "$LIBOBJC" = ""; then as_fn_error $? "The command 'gnustep-config --objc-libs' (provided by the gnustep-make package) returned no Objective-C library. Unable to continue configuring without Objective-C support." "$LINENO" 5 exit 1 fi +LIBOBJC="$LIBOBJC @PTHREAD_LIBS@" #-------------------------------------------------------------------- # Miscellaneous flags #-------------------------------------------------------------------- @@ -14582,9 +14583,9 @@ # Curl is preinstalled on MSYS2 and bundles the curl-config script. The MSYS2 curl library # and a different (MSVC) curl library might interfere and produce an incorrect configuration. # # Skip the curl-config check on Windows. -if eval $CURL_CONFIG --version 2>/dev/null >/dev/null && test "$SKIP_CURL_CONFIG" == "0"; then +if eval $CURL_CONFIG --version 2>/dev/null >/dev/null && test "$SKIP_CURL_CONFIG" = "0"; then curl_ver=`$CURL_CONFIG --version | sed -e "s/libcurl //g"` curl_maj=`echo $curl_ver | sed -e "s/^\(.*\)\.\(.*\)\.\(.*\)$/\1/"` curl_min=`echo $curl_ver | sed -e "s/^\(.*\)\.\(.*\)\.\(.*\)$/\2/"` if test $curl_maj -lt 7 -o \( $curl_maj -eq 7 -a $curl_min -lt 66 \); then