[gnutls-devel] GnuTLS | Minor fixes in 3.6.9 release (!1053)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Aug 5 16:47:08 CEST 2019




Tim Rühsen commented:


Try something like this ?
```
# check for gcc's atomic read-add-write functionality
AC_MSG_CHECKING([for __sync_fetch_and_add (int)])
AC_LINK_IFELSE(
   [AC_LANG_SOURCE([
    int main(void) { return __sync_fetch_and_add((int *)0, 0); }
   ])],
   [AC_DEFINE([WITH_SYNC_FETCH_AND_ADD], [1], [use __sync_fetch_and_add]) AC_MSG_RESULT([yes])],
   [AC_MSG_RESULT([no])]
)
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1053#note_200244406
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190805/ac057131/attachment.html>


More information about the Gnutls-devel mailing list