diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2019-01-23 13:36:23 +0100 |
---|---|---|
committer | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2019-01-23 13:36:23 +0100 |
commit | 615b89850193812b58d2d3d0592f6d743586dd0a (patch) | |
tree | b7503a56ee8fd34e7105c0bcef0d4bb4c18296ab /configure.ac | |
parent | 0169acbff91fca1483661d28552b459e909d3049 (diff) | |
download | gnutls-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.ac | 1 |
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 |