blob: cce71de8de2e84c48d8e40af3369afe58874e032 (
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
44
45
46
47
48
49
|
$NetBSD: patch-configure,v 1.3 2013/05/06 20:44:18 markd Exp $
- always use atomic_ops(3) on NetBSD, even on arm
- kill test(1) bash'ism
--- configure.orig 2012-07-19 11:30:11.000000000 +0000
+++ configure
@@ -7995,6 +7995,11 @@ else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking architecture for native atomic operations" >&5
$as_echo_n "checking architecture for native atomic operations... " >&6; }
case $host in
+ *-netbsd*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ need_libatomic_ops=no
+ ;;
arm*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: arm" >&5
$as_echo "arm" >&6; }
@@ -8062,11 +8067,6 @@ $as_echo "#define ATOMIC_ARM_INLINE_ASM
fi
fi
;;
- *-netbsdelf5*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- need_libatomic_ops=no
- ;;
*-freebsd*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
@@ -19748,7 +19748,7 @@ _ACEOF
fi
-if test "$ac_cv_tls" == "__thread"; then :
+if test "$ac_cv_tls" = "__thread"; then :
$as_echo "#define SUPPORT_TLS___THREAD 1" >>confdefs.h
@@ -20146,7 +20146,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
fi
-if test "x$ax_pthread_ok" == "xyes"; then :
+if test "x$ax_pthread_ok" = "xyes"; then :
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|