$NetBSD: patch-ab,v 1.23 2012/08/27 16:41:22 wiz Exp $

Unportable test(1) construct.
https://github.com/ivmai/bdwgc/commit/e091c078fad900f7b96881d5706a646d9c530cd8

--- configure.orig	2012-05-11 17:09:00.000000000 +0000
+++ configure
@@ -5245,7 +5245,7 @@ $as_echo "#define DARWIN_DONT_PARSE_STAC
 
 fi
 
-if test "$GCC" == yes; then
+if test "$GCC" = yes; then
   # Disable aliasing optimization unless forced to.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc supports -fno-strict-aliasing" >&5
 $as_echo_n "checking whether gcc supports -fno-strict-aliasing... " >&6; }
@@ -5453,8 +5453,8 @@ esac
 $as_echo "$enable_shared" >&6; }
 
 # Compile with GC_DLL defined unless building static libraries.
-if test "${enable_shared}" == yes; then
-  if test "${enable_static}" == no; then
+if test "${enable_shared}" = yes; then
+  if test "${enable_static}" = no; then
     $as_echo "#define GC_DLL 1" >>confdefs.h
 
     # FIXME: Also pass -fvisibility=hidden option if GCC v4+ and not Win32.
@@ -16438,7 +16441,7 @@ $as_echo "#define SMALL_CONFIG 1" >>conf
 
 fi
 
-if test "$enable_gc_debug" == "no"; then
+if test "$enable_gc_debug" = "no"; then
 
 $as_echo "#define NO_DEBUGGING 1" >>confdefs.h
 
