summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 17:35:31 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:44 +1000
commitbbb85a26ebfd276225a809ee363b50fa0c724b1b (patch)
tree5d8f7d002256157e518b4f0a89ef72be80ce8213 /buildtools
parent82f3ef486f6566246d26156ac59c662aefee4c88 (diff)
downloadsamba-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.py2
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):