It seems Icecat is still on 60esr, so any older systems that only have Icecat (or similar) installed won't have libatomic installed as a dependency yet (sigh).
92 AC_DEFUN([MOZ_CXX11], 93 [ 94 dnl Updates to the test below should be duplicated further below for the 95 dnl cross-compiling case. 96 AC_LANG_CPLUSPLUS 97 if test "$GNU_CXX"; then 98 AC_CACHE_CHECK([whether 64-bits std::atomic requires -latomic], 99 ac_cv_needs_atomic,100 dnl x86 with clang is a little peculiar. std::atomic does not require101 dnl linking with libatomic, but using atomic intrinsics does, so we 102 dnl force the setting on for such systems.103 if test "$CC_TYPE" = "clang" -a "$CPU_ARCH" = "x86" -a "$OS_ARCH" = "Linux"; then104 ac_cv_needs_atomic=yes
I guess we can either bundle it (as a fallback) or try detecting this at run-time and notify the user they should install it.