Re: [PATCH 2/3] Compilation with external intl library

2010-01-01 Thread Robert Millan
On Thu, Dec 31, 2009 at 05:55:04PM +0100, Yves Blusseau wrote: > +/* Disabled NLS. > + The casts to 'const char *' serve the purpose of producing warnings > + for invalid uses of the value returned from these functions. > + On pre-ANSI systems without 'const', the config.h file is supposed to

[PATCH 2/3] Compilation with external intl library

2009-12-31 Thread Yves Blusseau
2009-12-31 Yves Blusseau * configure.ac: check external intl library * Makefile.in: add compiler and linker flags to properly compile with intl library * include/grub/i18n.h: add a check to disable NLS * util/misc.c (grub_util_init_nls): new function