提交 4d636947 编写于 作者: M Michael Niedermayer

Merge commit '817dff57'

* commit '817dff57':
  configure: Check for the atomic.h functions used in the suncc atomics header

Conflicts:
	configure
Merged-by: NMichael Niedermayer <michaelni@gmx.at>
......@@ -1391,6 +1391,7 @@ HAVE_LIST="
asm_mod_q
asm_mod_y
asm_types_h
atomic_cas_ptr
atomics_native
attribute_may_alias
attribute_packed
......@@ -3837,6 +3838,7 @@ check_func strerror_r
check_func sched_getaffinity
check_builtin sync_val_compare_and_swap "" "int *ptr; int oldval, newval; __sync_val_compare_and_swap(ptr, oldval, newval)"
check_builtin machine_rw_barrier mbarrier.h "__machine_rw_barrier()"
check_builtin atomic_cas_ptr atomic.h "void **ptr; void *oldval, *newval; atomic_cas_ptr(ptr, oldval, newval)"
check_builtin MemoryBarrier windows.h "MemoryBarrier()"
check_func sysconf
check_func sysctl
......@@ -3918,7 +3920,7 @@ if enabled pthreads; then
fi
enabled sync_val_compare_and_swap && enable atomics_gcc
enabled machine_rw_barrier && enable atomics_suncc
enabled machine_rw_barrier && enabled atomic_cas_ptr && enable atomics_suncc
enabled MemoryBarrier && enable atomics_win32
check_lib math.h sin -lm && LIBM="-lm"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册