build: tweak the strategy for finding functions
authorAndrew Tridgell <tridge@samba.org>
Tue, 30 Mar 2010 01:47:54 +0000 (12:47 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:17 +0000 (20:27 +1000)
commit7da57cc94b8e6ddfac1b9e1f35956667ebee2abc
treeb1e374d2ace6d7f7b34f912594df35a12d1318e9
parent9da89b4dda291ff2f42fa2e63cf84034c3a6f824
build: tweak the strategy for finding functions

Based on a problem with res_ndestroy() on sunx in the build farm, I've
changed the default strategy for finding functions with
CHECK_FUNC(). It now accepts either a macro of a linked function, but
won't accept a declaration only unless you set link=False.
buildtools/wafsamba/samba_autoconf.py