s3 waf: Mimic the autoconf check for netgrent
commit9663850c084d1f7c4b36ad3ec7aaabdb17d92b2c
authorKai Blin <kai@samba.org>
Mon, 18 Apr 2011 12:55:51 +0000 (18 14:55 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 Apr 2011 18:08:25 +0000 (26 20:08 +0200)
tree76df00592e894c49add7684620a0cb0e9f2114cc
parent9e5c9ef0c3965d099d1d4d76b75d54ee3f889a51
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)
(cherry picked from commit 2789b8bf8027d2a3ce6a588b8f005e8e9536ba30)
source3/wscript