1
1

configure: re-enable built-in atomic support

This commit removes an erroneous else statement from the OSX built-in
atomics check. The else branch sets the built-in atomics support to
BUILTIN_NO if either opal_cv_asm_builtin is not BUILTIN_NO or OSX
atomics support is disabled.

Signed-off-by: Nathan Hjelm <hjelmn@me.com>
Этот коммит содержится в:
Nathan Hjelm 2016-03-16 20:46:09 -06:00
родитель d44804f0c9
Коммит 664ecc8f84

Просмотреть файл

@ -879,8 +879,6 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
if test "$opal_cv_asm_builtin" = "BUILTIN_NO" && test "$enable_osx_builtin_atomics" = "yes" ; then
AC_CHECK_HEADER([libkern/OSAtomic.h],
[opal_cv_asm_builtin="BUILTIN_OSX"])
else
opal_cv_asm_builtin="BUILTIN_NO"
fi
OPAL_CHECK_ASM_PROC