added --enable-wchar-prefer-char16

This commit is contained in:
2018-01-30 04:17:26 +00:00
parent 2fbfe3a71b
commit 3a9e278f0b
5 changed files with 56 additions and 13 deletions

20
qse/configure vendored
View File

@ -860,6 +860,7 @@ enable_ltdl_install
enable_ssl
with_mysql
enable_wchar
enable_wchar_prefer_char16
enable_bundled_unicode
enable_xcmgrs
enable_syscall
@ -1518,6 +1519,9 @@ Optional Features:
--enable-ssl build the library in the ssl mode (default. yes)
--enable-wchar Use the wide character type as the default charater
type when enabled (default. yes)
--enable-wchar-prefer-char16
Use char16_t for qse_wchar_t if possible(default.
no)
--enable-bundled-unicode
use thn bundled unicode routines (default. no)
--enable-xcmgrs include more built-in cmgrs like cp949 and cp950
@ -23600,6 +23604,22 @@ else
fi
# Check whether --enable-wchar-prefer-char16 was given.
if test "${enable_wchar_prefer_char16+set}" = set; then :
enableval=$enable_wchar_prefer_char16; enable_wchar_prefer_char16=$enableval
else
enable_wchar_prefer_char16=no
fi
if test "${enable_wchar_prefer_char16}" = "yes"
then
$as_echo "#define QSE_WCHAR_PREFER_CHAR16 /**/" >>confdefs.h
fi
# Check whether --enable-bundled-unicode was given.
if test "${enable_bundled_unicode+set}" = set; then :
enableval=$enable_bundled_unicode; enable_bundled_unicode_is=$enableval