(keycompare, compare): Replace #ifdef ENABLE_NLS with if (HAVE_SETLOCALE).
authorJim Meyering <jim@meyering.net>
Tue, 30 Apr 2002 09:29:45 +0000 (09:29 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 30 Apr 2002 09:29:45 +0000 (09:29 +0000)
commit0c4c74218919c3d36a4ea58c5d06a1014879d644
treecd851a07d4a9158947b549d57177d0f5fdaf80b7
parent9d64f63aaaee974b26d74fed7e1524ef4464cc97
(keycompare, compare): Replace #ifdef ENABLE_NLS with if (HAVE_SETLOCALE).
(hard_LC_COLLATE): Define even if ! ENABLE_NLS.
(main): Always initialize hard_LC_COLLATE.
Put initialization next to other locale-related stuff.

Include <langinfo.h> even if ! ENABLE_NLS.
(decimal_point, th_sep): Depend on HAVE_SETLOCALE, not ENABLE_NLS.
(main): Likewise.
(MONTHTAB_CONST): Remove; all uses removed.
(struct_month_cmp, inittables): Do not depend on ENABLE_NLS.
(main): hard_LC_TIME locale does not depend on ENABLE_NLS.
src/sort.c