git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82f3ef4
)
build: define HAVE_LIBxxx when we find a library
author
Andrew Tridgell
<tridge@samba.org>
Sun, 7 Mar 2010 06:35:31 +0000
(17:35 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 2010 10:26:44 +0000
(20:26 +1000)
buildtools/wafsamba/samba_autoconf.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_autoconf.py
b/buildtools/wafsamba/samba_autoconf.py
index be8e1258969a91f9ce3ba10feba0e9cc250d0279..9966b32d5aff036b65528a20053b23b4550cf49c 100644
(file)
--- 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):