X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fmain.c;h=42389839181433fb1cacbaacf644509c972ae436;hp=f60d0c0a940b0a3f0bc4a3392d8d9cc7c17a269e;hb=61533a5ebcb778a2a0b574b862ea8a10395c053d;hpb=d60b6388b6a5d10f3a7cf8ab72824ee294458c8e diff --git a/src/main.c b/src/main.c index f60d0c0a..42389839 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. */