s3 waf: Mimic the autoconf check for netgrent
commit2789b8bf8027d2a3ce6a588b8f005e8e9536ba30
authorKai Blin <kai@samba.org>
Mon, 18 Apr 2011 12:55:51 +0000 (18 14:55 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 19 Apr 2011 16:35:21 +0000 (19 18:35 +0200)
tree92d7e144b6c2ecf25e557e32d4406cc0057a99ed
parente9b9e6bdd9d5663f04f31edf465d67aec0d0c500
s3 waf: Mimic the autoconf check for netgrent

The autoconf check for netgrent headers makes sure that the compiler flag used
(-Werror-implicit-function-declaration) is recognized by the compiler before
using it for the test. Mimic this behaviour in the waf checks.
Thanks to gd for noticing this.

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Apr 18 16:24:15 CEST 2011 on sn-devel-104
(cherry picked from commit c2a62e854632dcae69a5ae911b6ab11e272d0a81)
source3/wscript