mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 16:36:14 +00:00
Select libintl from gettext we built.
Also, require gettext for NLS, and require iconv/ncurses for gettext. Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
1f84e9caf4
commit
9f62ca8deb
@ -69,6 +69,8 @@ config LIBICONV
|
||||
config GETTEXT
|
||||
bool "Build local gettext"
|
||||
default y if CANADIAN || CROSS_NATIVE
|
||||
select LIBICONV_NEEDED
|
||||
select NCURSES_NEEDED
|
||||
select COMPLIBS
|
||||
|
||||
config GMP
|
||||
|
@ -308,6 +308,7 @@ comment "Misc options"
|
||||
config TOOLCHAIN_ENABLE_NLS
|
||||
bool
|
||||
prompt "Enable nls"
|
||||
select GETTEXT_NEEDED
|
||||
help
|
||||
Say 'Y' here to enable native language support (nls).
|
||||
|
||||
|
@ -560,7 +560,11 @@ do_gcc_core_backend() {
|
||||
;; # ARCH is mips
|
||||
esac
|
||||
|
||||
[ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && extra_config+=("--disable-nls")
|
||||
if [ "${CT_TOOLCHAIN_ENABLE_NLS}" = "y" ]; then
|
||||
extra_config+=("--with-libintl-prefix=${complibs}")
|
||||
else
|
||||
extra_config+=("--disable-nls")
|
||||
fi
|
||||
|
||||
if [ "${CT_CC_GCC_SYSTEM_ZLIB}" = "y" ]; then
|
||||
extra_config+=("--with-system-zlib")
|
||||
@ -1084,7 +1088,11 @@ do_gcc_backend() {
|
||||
;; # ARCH is mips
|
||||
esac
|
||||
|
||||
[ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && extra_config+=("--disable-nls")
|
||||
if [ "${CT_TOOLCHAIN_ENABLE_NLS}" = "y" ]; then
|
||||
extra_config+=("--with-libintl-prefix=${complibs}")
|
||||
else
|
||||
extra_config+=("--disable-nls")
|
||||
fi
|
||||
|
||||
if [ "${CT_CC_GCC_SYSTEM_ZLIB}" = "y" ]; then
|
||||
extra_config+=("--with-system-zlib")
|
||||
|
Loading…
x
Reference in New Issue
Block a user