Hi, this is the patch to "fix" compilation with external intl library. It fix the #28356 bug (http://savannah.gnu.org/bugs/?28356).
I follow strictly the guideline of gettext, and now we can compile grub with external intl library. Some enhancements; - We can disable NLS (Native Language Support) with the --disable-nls configure flag. - We can choose where the external intl library is with the --with-libintl-prefix configure flag. Under linux the gettext macro detect that the gettext function is in libc and so don't add any flags (like before). On other platform like Mac OSX, the macro add the proper compile and link flags (ex: -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation in OSX) Best Regards, Yves Blusseau PS: if it ok i'll commit this patch and will add another one to make on error if the intl library can't be use and show alternative to compile grub.
intl.patch
Description: Binary data
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel