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.

30 lines
1.3 KiB

  1. --- a/lib/util/charset/wscript_configure 2020-06-14
  2. +++ b/lib/util/charset/wscript_configure 2020-06-14
  3. @@ -37,15 +37,15 @@ conf.CHECK_CODE('''
  4. lib='iconv',
  5. headers='errno.h iconv.h')
  6. -if conf.CHECK_CFG(package='icu-i18n',
  7. - args='--cflags --libs',
  8. - msg='Checking for icu-i18n',
  9. - uselib_store='ICU_I18N'):
  10. - for lib in conf.env['LIB_ICU_I18N']:
  11. - conf.CHECK_LIB(lib, shlib=True, mandatory=True)
  12. - conf.env['icu-libs'] = ' '.join(conf.env['LIB_ICU_I18N'])
  13. - if not conf.CHECK_HEADERS('unicode/ustring.h'):
  14. - conf.fatal('Found libicu, but unicode/ustring.h is missing')
  15. - conf.DEFINE('HAVE_UTF8_NORMALISATION', 1)
  16. -else:
  17. - conf.env['icu-libs'] = ''
  18. +# if conf.CHECK_CFG(package='icu-i18n',
  19. + # args='--cflags --libs',
  20. + # msg='Checking for icu-i18n',
  21. + # uselib_store='ICU_I18N'):
  22. + # for lib in conf.env['LIB_ICU_I18N']:
  23. + # conf.CHECK_LIB(lib, shlib=True, mandatory=True)
  24. + # conf.env['icu-libs'] = ' '.join(conf.env['LIB_ICU_I18N'])
  25. + # if not conf.CHECK_HEADERS('unicode/ustring.h'):
  26. + # conf.fatal('Found libicu, but unicode/ustring.h is missing')
  27. + # conf.DEFINE('HAVE_UTF8_NORMALISATION', 1)
  28. +# else:
  29. +conf.env['icu-libs'] = ''