build:wafsamba: Replace Options.is_install by bld.is_install
[sfrench/samba-autobuild/.git] / dynconfig / wscript
index d76b6ded36c575367afdc1a0b863722e1d256ba9..dba74f671dcb89acf858ec7011c9c2b39b426f12 100755 (executable)
@@ -374,7 +374,7 @@ def dynconfig_cflags(bld, list=None):
         if list and not varname in list:
             continue
         value = bld.env[varname]
-        if not Options.is_install:
+        if not bld.is_install:
             override = get_override(bld)
             if varname in override:
                 value = os.path.join(bld.env.srcdir, override[varname])
@@ -399,7 +399,7 @@ def pathconfig_entities(bld, list=None):
         if list and not varname in list:
             continue
         value = bld.env[varname]
-        if not Options.is_install:
+        if not bld.is_install:
             override = get_override(bld)
             if varname in override:
                 value = os.path.join(bld.env.srcdir, override[varname])