[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 09:06:28 CEST 2019




Tim Rühsen commented on a discussion on configure.ac: https://gitlab.com/gnutls/gnutls/merge_requests/1008#note_174039507

>  
>  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

I agree, it's not documented (https://www.gnu.org/software/autoconf/manual/autoconf-2.66/html_node/Libraries.html). And using your `save_LIBS` approach is more readable and more widespread (though not not as elegant).

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


More information about the Gnutls-devel mailing list