WAF config.h differences compared with autoconf on FreeBSD

Andrew Bartlett abartlet at samba.org
Sat Mar 9 18:21:10 MST 2013


On Sat, 2013-03-09 at 16:48 -0800, Richard Sharpe wrote:
> On Wed, Mar 6, 2013 at 10:01 PM, Andrew Bartlett <abartlet at samba.org> wrote:
> > On Thu, 2013-03-07 at 16:43 +1100, Andrew Bartlett wrote:
> >> BaT and Richard,
> >>
> >> If you run the source3/ autoconf build, and build with
> >> --enable-selftest, you should get this output when starting 'make test',
> >> as we build smbtorture.
> >>
> >> I'm wondering if you could look into the 'missing' results in
> >> particular, and work out how to get waf to find the same things that
> >> autoconf does?  (I've also CC'ed Andreas, as he did prctl work recently)
> >>
> >> This would be most valuable to get fixed up, so we know our two build
> >> systems are producing equivalent binaries.  (The same can be done on any
> >> platform that supports both waf and autoconf)
> >>
> >> Thanks,
> >>
> >> 'configure' finished successfully (1m40.912s)
> >> Comparing config.h from autoconf and waf
> >> Configure results missing from WAF are:
> >> ../buildtools/compare_config_h3.sh include/autoconf/config.h ../bin/default/include/config.h
> >> #define BSD_STYLE_STATVFS 1
> >> #define HAVE_ATTRIBUTE_COLD 1
> >> #define HAVE_DECL_RL_EVENT_HOOK 0
> >> #define HAVE_LIBMD5 1
> >> #define HAVE_MD5_H 1
> >> #define HAVE_PRCTL 1
> >> #define VALUEOF__NSIG
> >
> > Just as background, see some of the discussion in:
> >
> > https://bugzilla.samba.org/show_bug.cgi?id=8969
> >
> > Also, please ignore the 'missing from autoconf' section.  It is mostly
> > noise, because of extra checks that waf does does to building the whole
> > AD DC, heimdal and additional client libs.
> 
> Hmmm, I am confused. Do you just want the missing from WAF stuff?

In general, yes.  Because waf does more checks for various reasons
(including because it includes Heimdal and the additional libs used in
the broader client and AD DC libs) most of the things 'missing from
autoconf' are not really bugs. 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list