You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.4 KiB

  1. --- a/wscript_configure_embedded_heimdal 2019-12-17
  2. +++ b/wscript_configure_embedded_heimdal 2019-12-17
  3. @@ -1 +1,12 @@
  4. conf.RECURSE('source4/heimdal_build')
  5. +
  6. +def check_system_heimdal_binary(name):
  7. + if conf.LIB_MAY_BE_BUNDLED(name):
  8. + return False
  9. + if not conf.find_program(name, var=name.upper()):
  10. + return False
  11. + conf.define('USING_SYSTEM_%s' % name.upper(), 1)
  12. + return True
  13. +
  14. +check_system_heimdal_binary("compile_et")
  15. +check_system_heimdal_binary("asn1_compile")
  16. --- a/wscript_configure_system_heimdal 2019-12-17
  17. +++ b/wscript_configure_system_heimdal 2019-12-17
  18. @@ -37,14 +37,6 @@ def check_system_heimdal_lib(name, funct
  19. conf.define('USING_SYSTEM_%s' % name.upper(), 1)
  20. return True
  21. -def check_system_heimdal_binary(name):
  22. - if conf.LIB_MAY_BE_BUNDLED(name):
  23. - return False
  24. - if not conf.find_program(name, var=name.upper()):
  25. - return False
  26. - conf.define('USING_SYSTEM_%s' % name.upper(), 1)
  27. - return True
  28. -
  29. check_system_heimdal_lib("com_err", "com_right_r com_err", "com_err.h")
  30. if check_system_heimdal_lib("roken", "rk_socket_set_reuseaddr", "roken.h"):
  31. @@ -96,7 +88,4 @@ finally:
  32. #if conf.CHECK_BUNDLED_SYSTEM('tommath', checkfunctions='mp_init', headers='tommath.h'):
  33. # conf.define('USING_SYSTEM_TOMMATH', 1)
  34. -check_system_heimdal_binary("compile_et")
  35. -check_system_heimdal_binary("asn1_compile")
  36. -
  37. conf.define('USING_SYSTEM_KRB5', 1)