[gnutls-devel] GnuTLS | Do not add libraries in the global LIBS in configure (!1008)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri May 24 07:58:35 CEST 2019

Daiki Ueno started a new discussion on configure.ac: https://gitlab.com/gnutls/gnutls/merge_requests/1008#note_174019830

>  dnl This ensures that we link with the right library for atomic operations on Linux SPARC
>  AC_SEARCH_LIBS([__atomic_load_4], [atomic], [], [AC_MSG_NOTICE([Could not detect libatomic])])
> +LIBS=$ac_func_search_save_LIBS

Is `ac_func_search_save_LIBS` a documented variable we can rely on?
If not, I would suggest to explicitly save/restore LIBS by adding:

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1008#note_174019830
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/20190524/6348380e/attachment.html>

More information about the Gnutls-devel mailing list