diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-07 17:35:31 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:44 +1000 |
commit | bbb85a26ebfd276225a809ee363b50fa0c724b1b (patch) | |
tree | 5d8f7d002256157e518b4f0a89ef72be80ce8213 /buildtools | |
parent | 82f3ef486f6566246d26156ac59c662aefee4c88 (diff) | |
download | samba-bbb85a26ebfd276225a809ee363b50fa0c724b1b.tar.gz samba-bbb85a26ebfd276225a809ee363b50fa0c724b1b.tar.bz2 samba-bbb85a26ebfd276225a809ee363b50fa0c724b1b.zip |
build: define HAVE_LIBxxx when we find a library
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 2 |
1 files changed, 2 insertions, 0 deletions
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): |