diff mbox series

[v1,6/9] configure.ac: do not trap if libatomic is not found

Message ID 1500026405-14155-7-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v1,1/9] bug: linux-generic: add syntax to allow newer clang to compile odp | expand

Commit Message

Github ODP bot July 14, 2017, 10 a.m. UTC
From: Maxim Uvarov <maxim.uvarov@linaro.org>


Idea if check was to detect if libatomic is needed or not,
not trap configure on not case
Fixes Linaro CI compilation for:
gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabih

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>

---
/** Email created from pull request 77 (muvarov:monarch_lts)
 ** https://github.com/Linaro/odp/pull/77
 ** Patch: https://github.com/Linaro/odp/pull/77.patch
 ** Base sha: 0c15c40db40834f1df217191c4b6a06303ab0872
 ** Merge commit sha: f06a7319a03ad565ced026ddc76a66164aa93782
 **/
 platform/linux-generic/m4/configure.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/platform/linux-generic/m4/configure.m4 b/platform/linux-generic/m4/configure.m4
index 98885f5f..efa29e5e 100644
--- a/platform/linux-generic/m4/configure.m4
+++ b/platform/linux-generic/m4/configure.m4
@@ -65,7 +65,7 @@  AC_LINK_IFELSE(
    AC_CHECK_LIB(
      [atomic], [__atomic_exchange_16],
      [use_libatomic=yes],
-     [AC_MSG_FAILURE([cannot detect support for 128-bit atomics])])
+     [AC_MSG_CHECKING([cannot detect support for 128-bit atomics])])
   ])
 
 if test "x$use_libatomic" = "xyes"; then