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:
ae1c2b9
)
build: fixed cflags in CHECK_CODE()
author
Andrew Tridgell
<tridge@samba.org>
Sun, 7 Mar 2010 12:16:20 +0000
(23:16 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 2010 10:26:45 +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 b1868042925923593fdc02235dfd501f6a785007..36bc2484ec50e6e088664fa0c765a2b0fe7d4cde 100644
(file)
--- a/
buildtools/wafsamba/samba_autoconf.py
+++ b/
buildtools/wafsamba/samba_autoconf.py
@@
-198,11
+198,13
@@
def CHECK_CODE(conf, code, define,
if msg is None:
msg="Checking for %s" % define
+ cflags = cflags + ' -I%s' % conf.curdir
+
if conf.check(fragment=fragment,
execute=execute,
define_name = define,
mandatory = mandatory,
- ccflags=
'-I%s %s' % (conf.curdir,
cflags),
+ ccflags=
to_list(
cflags),
includes='# . ../default',
msg=msg):
conf.DEFINE(define, 1)