mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
ENABLE_NLS now, not HAVE_NLS.
This commit is contained in:
parent
e73b52c52c
commit
a33fa2dbe0
@ -4,6 +4,7 @@
|
||||
of --disable-nls.
|
||||
* wget.h: Remove logic for handling lack of NLS (now in
|
||||
gettext.h).
|
||||
* main.c: Use gettext's ENABLE_NLS rather than HAVE_NLS.
|
||||
|
||||
2007-10-08 Micah Cowan <micah@cowan.name>
|
||||
|
||||
|
@ -36,7 +36,7 @@ so, delete this exception statement from your version. */
|
||||
#endif /* HAVE_UNISTD_H */
|
||||
#include <string.h>
|
||||
#include <signal.h>
|
||||
#ifdef HAVE_NLS
|
||||
#ifdef ENABLE_NLS
|
||||
# include <locale.h>
|
||||
#endif
|
||||
#include <assert.h>
|
||||
@ -80,14 +80,14 @@ const char *exec_name;
|
||||
static void
|
||||
i18n_initialize (void)
|
||||
{
|
||||
/* HAVE_NLS implies existence of functions invoked here. */
|
||||
#ifdef HAVE_NLS
|
||||
/* ENABLE_NLS implies existence of functions invoked here. */
|
||||
#ifdef ENABLE_NLS
|
||||
/* Set the current locale. */
|
||||
setlocale (LC_ALL, "");
|
||||
/* Set the text message domain. */
|
||||
bindtextdomain ("wget", LOCALEDIR);
|
||||
textdomain ("wget");
|
||||
#endif /* HAVE_NLS */
|
||||
#endif /* ENABLE_NLS */
|
||||
}
|
||||
|
||||
/* Definition of command-line options. */
|
||||
|
Loading…
Reference in New Issue
Block a user