From: Andrew Tridgell Date: Sun, 7 Mar 2010 06:35:31 +0000 (+1100) Subject: build: define HAVE_LIBxxx when we find a library X-Git-Tag: samba-3.6.0pre1~3655 X-Git-Url: http://git.samba.org/samba.git/?p=nivanova%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=bbb85a26ebfd276225a809ee363b50fa0c724b1b build: define HAVE_LIBxxx when we find a library --- diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index be8e1258969..9966b32d5af 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -280,6 +280,8 @@ def CHECK_FUNCS_IN(conf, list, library, mandatory=False, checklibc=False): LOCAL_CACHE_SET(conf, 'EMPTY_TARGETS', library.upper(), True) return False + conf.define('HAVE_LIB%s' % library.upper(), 1) + ret = True for f in remaining: if not conf.check(function_name=f, lib=library, header_name=conf.env.hlist):