1 $NetBSD: patch-configure,v 1.2 2013/01/29 15:02:24 tsutsui Exp $
3 - always use atomic_ops(3) on NetBSD, even on arm
4 - kill test(1) bash'ism
6 --- configure.orig 2012-07-19 11:30:11.000000000 +0000
8 @@ -7995,6 +7995,11 @@ else
9 { $as_echo "$as_me:${as_lineno-$LINENO}: checking architecture for native atomic operations" >&5
10 $as_echo_n "checking architecture for native atomic operations... " >&6; }
13 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14 +$as_echo "yes" >&6; }
15 + need_libatomic_ops=no
18 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arm" >&5
20 @@ -8062,11 +8067,6 @@ $as_echo "#define ATOMIC_ARM_INLINE_ASM
25 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26 -$as_echo "yes" >&6; }
27 - need_libatomic_ops=no
30 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32 @@ -19748,7 +19748,7 @@ _ACEOF
36 -if test "$ac_cv_tls" == "__thread"; then :
37 +if test "$ac_cv_tls" = "__thread"; then :
39 $as_echo "#define SUPPORT_TLS___THREAD 1" >>confdefs.h
41 @@ -20146,7 +20146,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
45 -if test "x$ax_pthread_ok" == "xyes"; then :
46 +if test "x$ax_pthread_ok" = "xyes"; then :
48 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h