X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fmain.c;h=8df7a36124b6b9f07cb3babcead8af160d58d136;hb=a33fa2dbe0c66971f12334ccaef724140adca072;hp=43cb344d43e203390d0480bffa8b0a7a7ed41d17;hpb=e73b52c52c5669d0c23e5761b3475ccc0c9a55db;p=wget diff --git a/src/main.c b/src/main.c index 43cb344d..8df7a361 100644 --- a/src/main.c +++ b/src/main.c @@ -36,7 +36,7 @@ so, delete this exception statement from your version. */ #endif /* HAVE_UNISTD_H */ #include #include -#ifdef HAVE_NLS +#ifdef ENABLE_NLS # include #endif #include @@ -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. */