git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1726ba9
)
build: make CONFIG_PATH() understand absolute paths
author
Andrew Tridgell
<tridge@samba.org>
Sun, 7 Mar 2010 13:26:07 +0000
(
00:26
+1100)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 2010 10:26:46 +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 297d8d19219980a311ec955947954a28733bfed6..dc4bf8f2202636ca366231b6d3be36db4937c5a9 100644
(file)
--- a/
buildtools/wafsamba/samba_autoconf.py
+++ b/
buildtools/wafsamba/samba_autoconf.py
@@
-330,7
+330,10
@@
def SAMBA_CONFIG_H(conf, path=None):
@conf
def CONFIG_PATH(conf, name, default):
if not name in conf.env:
- conf.env[name] = conf.env['PREFIX'] + default
+ if default[0] == '/':
+ conf.env[name] = default
+ else:
+ conf.env[name] = conf.env['PREFIX'] + default
conf.define(name, conf.env[name], quote=True)
##############################################################