Andreas Metzler <[email protected]> writes: > On 2024-08-17 Daiki Ueno <[email protected]> wrote: >> Andreas Metzler <[email protected]> writes: > >> > ./configure is quiet about whether dlopening librariers is supported, >> > would it make sense to a) add messages and perhaps b) provide a switch >> > to force use of linking instead? > >> That sounds sensible to me, though I'm not sure what it is like a good >> interface for (b). Maybe --with-zstd, etc., could take a tri-state >> argument (no/yes/[dlopen]) and if "yes", the library is linked at build >> time? > > I think it would need to be 4-state, [dlopen / link / yes (which > prefers dlopen but does not require it) / no].
Right, that sounds better. > Alternatively a global setting could be used. > > AC_ARG_ENABLE ([dlopen], > [AS_HELP_STRING([--disable-dlopen], > [link against instead of dlopening some helper libraries]), > [ac_dlopen=$withval], [ac_dlopen=no]) I would prefer to have the option per library, because some of the libraries are less likely to be available than the others (e.g., tpm2-tss vs. zlib). > I do not have a strong preference. I can try to come up with a patch > once a choice has been made. That would be appreciated. Regards, -- Daiki Ueno _______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
