summaryrefslogtreecommitdiff
path: root/devel/boehm-gc/patches/patch-ab
blob: f31a7623f24f4fbaea32ae3c0ac530a67000a62c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
$NetBSD: patch-ab,v 1.20 2012/05/29 14:35:42 wiz Exp $

--- 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.
@@ -5508,6 +5508,9 @@ $as_echo "#define SOLARIS25_PROC_VDB_BUG
  sparc*-*-openbsd*)
     machdep="mach_dep.lo sparc_mach_dep.lo"
     ;;
+ sparc64-*-netbsd*)
+    machdep="mach_dep.lo sparc_mach_dep.lo"
+    ;;
  sparc-sun-solaris2.3)
     machdep="mach_dep.lo sparc_mach_dep.lo"
 
@@ -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