[gnutls-devel] GnuTLS | Fix for 1724 (!1988)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Jul 15 04:24:57 CEST 2025




Karthik Das commented on a discussion on configure.ac: https://gitlab.com/gnutls/gnutls/-/merge_requests/1988#note_2627052780

 >      CFLAGS="$save_CFLAGS"
 >  ])
 >  
 > +AS_IF([test -n "$tss2lib"], [
 > +    # Check for Esys_SetCryptoCallbacks availability
 > +    save_LIBS=$LIBS
 > +    save_CFLAGS=$CFLAGS
 > +    LIBS="$LIBS $TSS2_ESYS_LIBS"
 > +    CFLAGS="$CFLAGS $TSS2_ESYS_CFLAGS"
 > +    AC_CHECK_DECL([Esys_SetCryptoCallbacks], [
 > +        AC_DEFINE([HAVE_ESYS_SETCRYPTOCALLBACKS], 1, [Define if Esys_SetCryptoCallbacks is available])
 > +    ], [], [[#include <tss2/tss2_esys.h>]])

You are right.
```AC_CHECK_FUNCS``` would be simpler, cleaner and more appropriate

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1988#note_2627052780
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/20250715/1c45c571/attachment.html>


More information about the Gnutls-devel mailing list