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

--- a/lib/util/charset/wscript_configure
+++ b/lib/util/charset/wscript_configure
@@ -37,15 +37,15 @@ conf.CHECK_CODE('''
lib='iconv',
headers='errno.h iconv.h')
-if conf.CHECK_CFG(package='icu-i18n',
- args='--cflags --libs',
- msg='Checking for icu-i18n',
- uselib_store='ICU_I18N'):
- for lib in conf.env['LIB_ICU_I18N']:
- conf.CHECK_LIB(lib, shlib=True, mandatory=True)
- conf.env['icu-libs'] = ' '.join(conf.env['LIB_ICU_I18N'])
- if not conf.CHECK_HEADERS('unicode/ustring.h'):
- conf.fatal('Found libicu, but unicode/ustring.h is missing')
- conf.DEFINE('HAVE_UTF8_NORMALISATION', 1)
-else:
- conf.env['icu-libs'] = ''
+# if conf.CHECK_CFG(package='icu-i18n',
+ # args='--cflags --libs',
+ # msg='Checking for icu-i18n',
+ # uselib_store='ICU_I18N'):
+ # for lib in conf.env['LIB_ICU_I18N']:
+ # conf.CHECK_LIB(lib, shlib=True, mandatory=True)
+ # conf.env['icu-libs'] = ' '.join(conf.env['LIB_ICU_I18N'])
+ # if not conf.CHECK_HEADERS('unicode/ustring.h'):
+ # conf.fatal('Found libicu, but unicode/ustring.h is missing')
+ # conf.DEFINE('HAVE_UTF8_NORMALISATION', 1)
+# else:
+conf.env['icu-libs'] = ''