X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fwget.h;h=08d8d8374ebd803b1cee0cf3681b6cb47ff74786;hp=566c8ae44ec7bc767efcc0c5b07adbfb6f2262b8;hb=e95867e6cc2f21c039f039e845982cdb87cd2cad;hpb=c1b7382ec4c25c23c81a0e0964d94fff72c6a633 diff --git a/src/wget.h b/src/wget.h index 566c8ae4..08d8d837 100644 --- a/src/wget.h +++ b/src/wget.h @@ -67,6 +67,19 @@ as that of the covered work. */ variables. -- explanation partly taken from GNU make. */ #define N_(string) string +#if ! ENABLE_NLS +# undef HAVE_WCHAR_H +# undef HAVE_WCWIDTH +# undef HAVE_MBTOWC +#endif /* not ENABLE_NLS */ + +#if HAVE_WCWIDTH && HAVE_MBTOWC +# define USE_NLS_PROGRESS_BAR 1 +#else +/* Just to be a little paranoid about it. */ +# undef USE_NLS_PROGRESS_BAR +#endif + /* I18N NOTE: You will notice that none of the DEBUGP messages are marked as translatable. This is intentional, for a few reasons: