Changeset 988 for vendor/current/source3/build
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- Location:
- vendor/current/source3/build
- Files:
-
- 1 added
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/build/charset.py
r740 r988 9 9 if conf.CHECK_ICONV(define='HAVE_NATIVE_ICONV'): 10 10 default_dos_charset=False 11 default_display_charset=False12 11 default_unix_charset=False 13 12 … … 16 15 if conf.CHECK_CHARSET_EXISTS(charset, headers='iconv.h'): 17 16 default_dos_charset=charset 18 break19 20 # check for default display charset name21 for charset in ['ASCII', '646']:22 if conf.CHECK_CHARSET_EXISTS(charset, headers='iconv.h'):23 default_display_charset=charset24 17 break 25 18 … … 38 31 if crossbuild: 39 32 default_dos_charset="CP850" 40 default_display_charset="ASCII"41 33 default_unix_charset="UTF-8" 42 34 # TODO: this used to warn about the set charset on cross builds 43 35 36 if default_dos_charset is False or default_unix_charset is False: 37 # we found iconv, but it failed to convert anything (e.g. on AIX) 38 conf.undefine('HAVE_NATIVE_ICONV'); 39 default_dos_charset = "ASCII" 40 default_unix_charset = "UTF-8" 41 44 42 conf.DEFINE('DEFAULT_DOS_CHARSET', default_dos_charset, quote=True) 45 conf.DEFINE('DEFAULT_DISPLAY_CHARSET', default_display_charset, quote=True)46 43 conf.DEFINE('DEFAULT_UNIX_CHARSET', default_unix_charset, quote=True) 47 44 48 45 else: 49 46 conf.DEFINE('DEFAULT_DOS_CHARSET', "ASCII", quote=True) 50 conf.DEFINE('DEFAULT_DISPLAY_CHARSET', "ASCII", quote=True)51 47 conf.DEFINE('DEFAULT_UNIX_CHARSET', "UTF8", quote=True) 52 48
Note:
See TracChangeset
for help on using the changeset viewer.