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.

23 lines
989 B

  1. --- a/lib/util/wscript_configure 2020-06-14
  2. +++ b/lib/util/wscript_configure 2020-06-14
  3. @@ -11,13 +11,13 @@ conf.CHECK_FUNCS_IN('backtrace backtrace
  4. conf.CHECK_HEADERS('execinfo.h')
  5. conf.SET_TARGET_TYPE('LIBUNWIND', 'EMPTY')
  6. -if conf.check_cfg(package='libunwind-generic',
  7. - args='--cflags --libs',
  8. - msg='Checking for libunwind',
  9. - uselib_store='LIBUNWIND',
  10. - mandatory=False):
  11. - if conf.CHECK_HEADERS('libunwind.h'):
  12. - conf.SET_TARGET_TYPE('LIBUNWIND', 'SYSLIB')
  13. +# if conf.check_cfg(package='libunwind-generic',
  14. + # args='--cflags --libs',
  15. + # msg='Checking for libunwind',
  16. + # uselib_store='LIBUNWIND',
  17. + # mandatory=False):
  18. + # if conf.CHECK_HEADERS('libunwind.h'):
  19. + # conf.SET_TARGET_TYPE('LIBUNWIND', 'SYSLIB')
  20. conf.CHECK_STRUCTURE_MEMBER('struct statvfs', 'f_frsize', define='HAVE_FRSIZE', headers='sys/statvfs.h')