From bbb85a26ebfd276225a809ee363b50fa0c724b1b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 7 Mar 2010 17:35:31 +1100 Subject: build: define HAVE_LIBxxx when we find a library --- buildtools/wafsamba/samba_autoconf.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'buildtools/wafsamba') diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index be8e125896..9966b32d5a 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): -- cgit