This project is mirrored from https://git.samba.org/samba.git. Pull mirroring updated .
  1. 16 Dec, 2020 1 commit
  2. 07 Sep, 2020 1 commit
  3. 29 Apr, 2019 1 commit
    • Ralph Böhme's avatar
      waf: only set mandatory to False if not already set by the caller · cbee3037
      Ralph Böhme authored and Andreas Schneider's avatar Andreas Schneider committed
      
      
      There are a bunch of callers that call find_program with mandatory=True,
      we should not overwrite this when explicity passed, eg:
      
        ctx.find_program('objcopy', var='OBJCOPY', mandatory=True)
      
        conf.SAMBA_CHECK_PERL(mandatory=True)
          -> conf.find_program('perl', var='PERL', mandatory=mandatory)
      
      With this patch we only change the default from False to True, but allow
      callers to choose specific behaviour.
      
      Signed-off-by: Ralph Böhme's avatarRalph Boehme <slow@samba.org>
      Reviewed-by: Andreas Schneider's avatarAndreas Schneider <asn@samba.org>
      
      Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
      Autobuild-Date(master): Mon Apr 29 17:07:02 UTC 2019 on sn-devel-184
      cbee3037
  4. 20 Nov, 2018 2 commits
  5. 11 Sep, 2018 1 commit
  6. 07 Sep, 2018 2 commits
    • Alexander Bokovoy's avatar
      wafsamba/samba_waf18: redefine flex function · 4847daf0
      Alexander Bokovoy authored and Andrew Bartlett's avatar Andrew Bartlett committed
      
      
      There is a bug in waf: flex routine adjusts its inputs against
      the task's current working directory but assumes it is being called from
      within the build variant directory.
      
      For Samba this means we adjust one level up than the actual work
      directory we use to run (bin/ vs bin/default) and flex doesn't find the
      source files.
      
      Fix the issue by creating a local override of flex definition that
      utilizes the same workd directory for both path adjustment and running
      the flex itself.
      
      Signed-off-by: Alexander Bokovoy's avatarAlexander Bokovoy <ab@samba.org>
      Reviewed-by: Andrew Bartlett's avatarAndrew Bartlett <abartlet@samba.org>
      
      Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
      Autobuild-Date(master): Fri Sep  7 15:45:36 CEST 2018 on sn-devel-144
      4847daf0
    • Alexander Bokovoy's avatar
      wafsamba/samba_autoconf: when setting undefined result, use empty tuple · 311e1eb6
      Alexander Bokovoy authored and Andrew Bartlett's avatar Andrew Bartlett committed
      
      
      A difference between waf 1.x and 2.x is that we gained 0 as an undefined
      variable in the cache file. This does not allow to differentiate unset
      and set to 0 defines.
      
      Force to use empty tuple () to signify unset defines.
      
      Also, fix handling of extra cflags in case of 'strict=True': if
      extra_cflags were not defined, we'd append None to the cflags list and
      it confuses conf.check() later. 'None' is added to the command line of a
      tool executed by the conf.check() which, depending on a tool, may be
      treated as an error and cause wrong test result.
      
      Signed-off-by: Alexander Bokovoy's avatarAlexander Bokovoy <ab@samba.org>
      Reviewed-by: Andrew Bartlett's avatarAndrew Bartlett <abartlet@samba.org>
      311e1eb6
  7. 05 Sep, 2018 4 commits