From: Maxim Uvarov <maxim.uva...@linaro.org>

checking whether -latomic is needed for 64-bit atomic built-ins... yes
checking for __atomic_exchange_8 in -latomic... no
configure: error: __atomic_exchange_8 is not available

Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>
---
/** Email created from pull request 71 (muvarov:api-next)
 ** https://github.com/Linaro/odp/pull/71
 ** Patch: https://github.com/Linaro/odp/pull/71.patch
 ** Base sha: 15c97427d01c81dc9f4d0aafe9b0a99cdb2d1fc6
 ** Merge commit sha: e20c61ba5eae9586adcbc76e43cdfaa869055b55
 **/
 platform/linux-generic/m4/configure.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/platform/linux-generic/m4/configure.m4 
b/platform/linux-generic/m4/configure.m4
index bd2ca88e..e0c4d983 100644
--- a/platform/linux-generic/m4/configure.m4
+++ b/platform/linux-generic/m4/configure.m4
@@ -58,7 +58,7 @@ AC_LINK_IFELSE(
    AC_CHECK_LIB(
      [atomic], [__atomic_exchange_8],
      [use_libatomic=yes],
-     [AC_MSG_FAILURE([__atomic_exchange_8 is not available])])
+     [AC_MSG_CHECKING([__atomic_exchange_8 is not available])])
   ])
 
 AC_MSG_CHECKING(whether -latomic is needed for 128-bit atomic built-ins)

Reply via email to