* commit '817dff578f13ce97576c609ab141508b9dc782e9': configure: Check for the atomic.h functions used in the suncc atomics header Conflicts: configure
Unified · Split
| @@ -1391,6 +1391,7 @@ HAVE_LIST=" · 1390 unmodified lines | |||
| 1391 | asm_mod_q | 1391 | asm_mod_q |
| 1392 | asm_mod_y | 1392 | asm_mod_y |
| 1393 | asm_types_h | 1393 | asm_types_h |
| 1394 | atomic_cas_ptr | ||
| 1394 | atomics_native | 1395 | atomics_native |
| 1395 | attribute_may_alias | 1396 | attribute_may_alias |
| 1396 | attribute_packed | 1397 | attribute_packed |
| @@ -3837,6 +3838,7 @@ check_func strerror_r · 2440 unmodified lines | |||
| 3837 | check_func sched_getaffinity | 3838 | check_func sched_getaffinity |
| 3838 | check_builtin sync_val_compare_and_swap "" "int *ptr; int oldval, newval; __sync_val_compare_and_swap(ptr, oldval, newval)" | 3839 | check_builtin sync_val_compare_and_swap "" "int *ptr; int oldval, newval; __sync_val_compare_and_swap(ptr, oldval, newval)" |
| 3839 | check_builtin machine_rw_barrier mbarrier.h "__machine_rw_barrier()" | 3840 | 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)" | ||
| 3840 | check_builtin MemoryBarrier windows.h "MemoryBarrier()" | 3842 | check_builtin MemoryBarrier windows.h "MemoryBarrier()" |
| 3841 | check_func sysconf | 3843 | check_func sysconf |
| 3842 | check_func sysctl | 3844 | check_func sysctl |
| @@ -3918,7 +3920,7 @@ if enabled pthreads; then · 75 unmodified lines | |||
| 3918 | fi | 3920 | fi |
| 3919 | 3921 | ||
| 3920 | enabled sync_val_compare_and_swap && enable atomics_gcc | 3922 | 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 |
| 3922 | enabled MemoryBarrier && enable atomics_win32 | 3924 | enabled MemoryBarrier && enable atomics_win32 |
| 3923 | 3925 | ||
| 3924 | check_lib math.h sin -lm && LIBM="-lm" | 3926 | check_lib math.h sin -lm && LIBM="-lm" |