build: Reduce build systems to just top level waf and autoconf
[amitay/samba.git] / dynconfig / wscript
index e9815e0376f945dc6fafa11f318f5a2ab4e272d7..28f6e8dfc7e170f817b151d04562f5f196ecb6b3 100755 (executable)
@@ -357,8 +357,6 @@ Build.BuildContext.dynconfig_cflags = dynconfig_cflags
 def build(bld):
     cflags = bld.dynconfig_cflags()
     version_header = 'version.h'
-    if not os.getenv('TOPLEVEL_BUILD'):
-        version_header = 'include/version.h'
     bld.SAMBA_SUBSYSTEM('DYNCONFIG',
                         'dynconfig.c',
                         deps='replace talloc',