WAF config.h differences compared with autoconf on FreeBSD

Richard Sharpe realrichardsharpe at gmail.com
Sat Mar 9 18:11:13 MST 2013


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.

This is what seems to be missing on a FreeBSD 8.0 system:

#define BSD_STYLE_STATVFS 1
#define HAVE_ATTRIBUTE_COLD 1
#define HAVE_DECL_RL_EVENT_HOOK 0
#define HAVE_FAMNOEXISTS 1
#define HAVE_FAMOPEN2 1
#define HAVE_FAM_H 1
#define HAVE_FAM_H_FAMCODES_TYPEDEF 1
#define HAVE_LIBMD5 1
#define HAVE_MD5_H 1
#define vfs_notify_fam_init samba_init_module

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list