samba: make build deterministic by adding PACKAGECONFIG for valgrind
samba: make build deterministic by adding PACKAGECONFIG for valgrind

* No configure option for valgrind, use the ac_cv_header_*
* The PACKAGECONFIG for valgrind is disabled by default

Signed-off-by: Jackie Huang <49ec7cfe045884df7178a7e982697c7043dbc82b@windriver.com>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>

joelagnel/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,joelagnel/meta-openembedded,openembedded/meta-openembedded,joelagnel/meta-openembedded,schnitzeltony/meta-openembedded,moto-timo/meta-openembedded,openembedded/meta-openembedded,lixinfnst/meta-openembedded,fredcadete/meta-openembedded,kraj/meta-openembedded,dm8tbr/kodi-wip,rofehr/meta-openembedded,VCTLabs/meta-openembedded,lgirdk/meta-openembedded,amery/meta-openembedded,amery/meta-openembedded,moto-timo/meta-openembedded,joelagnel/meta-openembedded,akuster/meta-openembedded,rehsack/meta-openembedded,mrchapp/meta-openembedded,lixinfnst/meta-openembedded,schnitzeltony/meta-openembedded,amery/meta-openembedded,akuster/meta-openembedded,lixinfnst/meta-openembedded,openembedded/meta-openembedded,RedFIR/meta-openembedded,openembedded/meta-openembedded,RedFIR/meta-openembedded,epylar/meta-openembedded,MCherifiOSS/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,kraj/meta-openembedded,rehsack/meta-openembedded,fredcadete/meta-openembedded,joelagnel/meta-openembedded,rdm-dev/meta-openembedded,rehsack/meta-openembedded,amery/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,epylar/meta-openembedded,victronenergy/meta-openembedded,lixinfnst/meta-openembedded,epylar/meta-openembedded,amery/meta-openembedded,rdm-dev/meta-openembedded,fredcadete/meta-openembedded,rehsack/meta-openembedded,joelagnel/meta-openembedded,VCTLabs/meta-openembedded,lgirdk/meta-openembedded,lgirdk/meta-openembedded,RedFIR/meta-openembedded,rdm-dev/meta-openembedded,shr-distribution/meta-oe,rofehr/meta-openembedded,schnitzeltony/meta-openembedded,VCTLabs/meta-openembedded,moto-timo/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,dm8tbr/kodi-wip,MCherifiOSS/meta-openembedded,shr-distribution/meta-oe,RedFIR/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,epylar/meta-openembedded,mrchapp/meta-openembedded,lgirdk/meta-openembedded,joelagnel/meta-openembedded,RedFIR/meta-openembedded,shr-distribution/meta-oe,moto-timo/meta-openembedded,amery/meta-openembedded,rofehr/meta-openembedded,VCTLabs/meta-openembedded,rdm-dev/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,fredcadete/meta-openembedded,RedFIR/meta-openembedded,rofehr/meta-openembedded,lixinfnst/meta-openembedded,lgirdk/meta-openembedded,akuster/meta-openembedded,fredcadete/meta-openembedded,RedFIR/meta-openembedded,rofehr/meta-openembedded,rdm-dev/meta-openembedded,lgirdk/meta-openembedded,schnitzeltony/meta-openembedded,kraj/meta-openembedded,kraj/meta-openembedded,VCTLabs/meta-openembedded,mrchapp/meta-openembedded,shr-distribution/meta-oe,mrchapp/meta-openembedded,victronenergy/meta-openembedded,rehsack/meta-openembedded,dm8tbr/kodi-wip,fredcadete/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,MCherifiOSS/meta-openembedded,VCTLabs/meta-openembedded,victronenergy/meta-openembedded,openembedded/meta-openembedded,amery/meta-openembedded,lgirdk/meta-openembedded,shr-distribution/meta-oe,shr-distribution/meta-oe,schnitzeltony/meta-openembedded,mrchapp/meta-openembedded,amery/meta-openembedded,rdm-dev/meta-openembedded,victronenergy/meta-openembedded,epylar/meta-openembedded,mrchapp/meta-openembedded,MCherifiOSS/meta-openembedded,kraj/meta-openembedded,shr-distribution/meta-oe,VCTLabs/meta-openembedded,rdm-dev/meta-openembedded,dm8tbr/kodi-wip,moto-timo/meta-openembedded,victronenergy/meta-openembedded,dm8tbr/kodi-wip,shr-distribution/meta-oe,fredcadete/meta-openembedded,victronenergy/meta-openembedded,joelagnel/meta-openembedded,schnitzeltony/meta-openembedded,RedFIR/meta-openembedded,akuster/meta-openembedded,lixinfnst/meta-openembedded,MCherifiOSS/meta-openembedded,VCTLabs/meta-openembedded,dm8tbr/kodi-wip,rehsack/meta-openembedded,rofehr/meta-openembedded,epylar/meta-openembedded,akuster/meta-openembedded,schnitzeltony/meta-openembedded,openembedded/meta-openembedded,dm8tbr/kodi-wip,epylar/meta-openembedded,kraj/meta-openembedded,kraj/meta-openembedded,fredcadete/meta-openembedded,mrchapp/meta-openembedded,rofehr/meta-openembedded,victronenergy/meta-openembedded,MCherifiOSS/meta-openembedded,epylar/meta-openembedded,rehsack/meta-openembedded,rdm-dev/meta-openembedded,dm8tbr/kodi-wip,sigma-embedded/elito-org.openembedded.meta,rofehr/meta-openembedded