599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
|
], [
AC_MSG_RESULT(no)
])
AC_MSG_CHECKING(whether we have an atomic ops assembly implementation)
AC_EGREP_CPP(yes, [
#if defined(__GNUC__) && (defined(__i386__) || \
defined(__x86_64__) || defined(__amd64__))
yes
#endif
], [
AC_MSG_RESULT(yes)
test x"$atomic_ops" = x"none" && \
atomic_ops="assembly implementation"
], [
|
|
>
|
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
|
], [
AC_MSG_RESULT(no)
])
AC_MSG_CHECKING(whether we have an atomic ops assembly implementation)
AC_EGREP_CPP(yes, [
#if defined(__GNUC__) && (defined(__i386__) || \
defined(__x86_64__) || defined(__amd64__)) ||
defined(__ppc__)
yes
#endif
], [
AC_MSG_RESULT(yes)
test x"$atomic_ops" = x"none" && \
atomic_ops="assembly implementation"
], [
|