History

Merge commit '817dff578f13ce97576c609ab141508b9dc782e9'

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

Michael Niedermayer committed 13 years ago

Commit 4d636942 parents e3cc92a 817dff51 file · +3 −1Browse files

Unified · Split

configure+3−1
@@ -1391,6 +1391,7 @@ HAVE_LIST=" · 1390 unmodified lines
13911391 asm_mod_q
13921392 asm_mod_y
13931393 asm_types_h
1394+ atomic_cas_ptr
13941395 atomics_native
13951396 attribute_may_alias
13961397 attribute_packed
@@ -3837,6 +3838,7 @@ check_func strerror_r · 2440 unmodified lines
38373838 check_func sched_getaffinity
38383839 check_builtin sync_val_compare_and_swap "" "int *ptr; int oldval, newval; __sync_val_compare_and_swap(ptr, oldval, newval)"
38393840 check_builtin machine_rw_barrier mbarrier.h "__machine_rw_barrier()"
3841+check_builtin atomic_cas_ptr atomic.h "void **ptr; void *oldval, *newval; atomic_cas_ptr(ptr, oldval, newval)"
38403842 check_builtin MemoryBarrier windows.h "MemoryBarrier()"
38413843 check_func sysconf
38423844 check_func sysctl
@@ -3918,7 +3920,7 @@ if enabled pthreads; then · 75 unmodified lines
39183920 fi
39193921
39203922 enabled sync_val_compare_and_swap && enable atomics_gcc
3921−enabled machine_rw_barrier && enable atomics_suncc
3923+enabled machine_rw_barrier && enabled atomic_cas_ptr && enable atomics_suncc
39223924 enabled MemoryBarrier && enable atomics_win32
39233925
39243926 check_lib math.h sin -lm && LIBM="-lm"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t