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

Message ID 1497546006-25695-2-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series
  • configure.ac: do not trap if libatomic is not found
Related show

Commit Message

Github ODP bot June 15, 2017, 5 p.m.
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>

---
/** Email created from pull request 52 (muvarov:master_fix_gcc7_lci)
 ** https://github.com/Linaro/odp/pull/52
 ** Patch: https://github.com/Linaro/odp/pull/52.patch
 ** Base sha: 248ebf35eaf51d962e9d14a4e2c541d3cbc96268
 ** Merge commit sha: 8bfb572f08f10b632ea7076e5956aebf0bccf7c4
 **/
 platform/linux-generic/m4/configure.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/platform/linux-generic/m4/configure.m4 b/platform/linux-generic/m4/configure.m4
index 6a429f1d..e1197f60 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