diff options
author | ume <ume@FreeBSD.org> | 2006-02-19 06:40:29 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2006-02-19 06:40:29 +0000 |
commit | 30ad96b704afb3b95305846f489a380652e7d501 (patch) | |
tree | 9dff56283c90abd787a8d06e3b7f377fe7818735 /bin/csh/config.h | |
parent | 398a4709f3a42229ae5cc0bf1e9489e64ef85405 (diff) | |
download | FreeBSD-src-30ad96b704afb3b95305846f489a380652e7d501.zip FreeBSD-src-30ad96b704afb3b95305846f489a380652e7d501.tar.gz |
Enable NLS catalog of csh(1).
The tcsh 6.14 uses libiconv to convert catalogs to appropriate charset
dynamically. However, we don't have libiconv in our tree. So, I made
some hack to load libiconv dynamically. If libiconv is available, you
can use catalogs for more locales than the locales which catalog is
actually installed.
To use this feature, you need to symlink catalogs to appropriate
locales. You can do this by installing ports/shells/tcsh_nls.
Reviewed by: arch (no objection)
MFC after: 1 week
Diffstat (limited to 'bin/csh/config.h')
-rw-r--r-- | bin/csh/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/csh/config.h b/bin/csh/config.h index 6189e72..3929e37 100644 --- a/bin/csh/config.h +++ b/bin/csh/config.h @@ -205,3 +205,7 @@ #include "config_p.h" #include "config_f.h" + +#ifndef NO_NLS_CATALOGS +#define NLS_CATALOGS +#endif |