summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2019-01-23 13:36:23 +0100
committerFabrice Fontaine <fontaine.fabrice@gmail.com>2019-01-23 13:36:23 +0100
commit615b89850193812b58d2d3d0592f6d743586dd0a (patch)
treeb7503a56ee8fd34e7105c0bcef0d4bb4c18296ab /configure.ac
parent0169acbff91fca1483661d28552b459e909d3049 (diff)
downloadgnutls-615b89850193812b58d2d3d0592f6d743586dd0a.tar.gz
configure.ac: add comment for -latomic
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b2c0c2b3d9..ef8547672f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -207,6 +207,7 @@ dnl Need netinet/tcp.h for TCP_FASTOPEN
AC_CHECK_HEADERS([netinet/tcp.h])
AC_CHECK_HEADERS([stdatomic.h])
+dnl This ensures that we link with the right library for atomic operations on Linux SPARC
AC_SEARCH_LIBS([__atomic_load_4], [atomic], [AC_SUBST([LIBATOMIC_LIBS], [-latomic])])
dnl We use its presence to detect C11 threads