summaryrefslogtreecommitdiff
path: root/source4/dynconfig
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-13 12:19:37 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-13 11:00:04 +0000
commitb5ffdb6f9c7e003223614baac18f03fe02e7d782 (patch)
tree3f8442f2dc2e1302e2442d11a449845ec2669081 /source4/dynconfig
parentd0293428fe2e95cccfcaf3df47f234ac3e794d2e (diff)
downloadsamba-b5ffdb6f9c7e003223614baac18f03fe02e7d782.tar.gz
samba-b5ffdb6f9c7e003223614baac18f03fe02e7d782.tar.bz2
samba-b5ffdb6f9c7e003223614baac18f03fe02e7d782.zip
s4: don't rebuild all of heimdal when dynconfig options change
only 2 files in heimdal depend on dynconfig variables
Diffstat (limited to 'source4/dynconfig')
-rw-r--r--source4/dynconfig/wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dynconfig/wscript b/source4/dynconfig/wscript
index e614624d70..d975698ddf 100644
--- a/source4/dynconfig/wscript
+++ b/source4/dynconfig/wscript
@@ -116,10 +116,12 @@ def configure(conf):
sys.exit(1)
-def dynconfig_cflags(bld):
+def dynconfig_cflags(bld, list=None):
'''work out the extra CFLAGS for dynconfig.c'''
cflags = []
for f in dyn_cflags.keys():
+ if list and not f in list:
+ continue
if not Options.is_install and f == 'MODULESDIR':
# we want binaries run from the source dir to use the current
# modules, not the installed ones