$NetBSD: patch-av,v 1.2 2013/07/07 18:13:56 adam Exp $

--- config.tests/mac/dwarf2.test.orig	2013-06-07 05:16:41.000000000 +0000
+++ config.tests/mac/dwarf2.test
@@ -41,7 +41,7 @@ rm -f dwarf2.c dwarf2.o
 "$COMPILER" $WORKDIR/xcodeversion.cpp $CXXFLAGS $LFLAGS -o xcodeversion -framework Carbon;
 ./xcodeversion
 
-if [ "$?" == "1" ]; then
+if [ "$?" = "1" ]; then
     DWARF2_SUPPORT_BROKEN=yes
 fi
 
@@ -52,7 +52,7 @@ if [ "$DWARF2_SUPPORT" != "yes" ]; then
     [ "$VERBOSE" = "yes" ] && echo "DWARF2 debug symbols disabled."
     exit 0
 else
-    if [ "$DWARF2_SUPPORT_BROKEN" == "yes" ]; then
+    if [ "$DWARF2_SUPPORT_BROKEN" = "yes" ]; then
         [ "$VERBOSE" = "yes" ] && echo "DWARF2 debug symbols disabled."
         exit 0
     else
