Samba vs LDAP/SSL ans SHA256 cert on NetBSD

Jeremy Allison jra at samba.org
Fri May 29 13:00:39 MDT 2015


On Fri, May 29, 2015 at 08:50:19PM +0200, Emmanuel Dreyfus wrote:
> Jeremy Allison <jra at samba.org> wrote:
> 
> > Do you know how to do this, or do you need some help working with our
> > build system ?
> 
> You mean autoconf? That means adding this to configure.in:
> AC_CHECK_FUNC(SHA256_Update,[AC_DEFINE([HAVE_SHA256_Update], [1],
>      [Define to 1 if you have SHA256_Update])])

No, sadly we no longer use autoconf. You'll
have to add this to a WAF wscript file.

It's python...

> And make the rename #ifndef HAVE_SHA256_Update
> Is it what you meant?

No, check for the presence of SHA256_Update,
then as you're gating the entire block on that
invent a new MACRO name, e.g. SHA_RENAME_NEEDED.


More information about the samba-technical mailing list