On Sat, Jan 02, 2010 at 03:05:53PM +0100, Grégoire Sutre wrote:
> You mean with an AC_PATH_PROG(GETTEXTBIN, gettext, echo) and substitute  
> GETTEXTBIN in 10_linux?

Yes.

> But, in order to have a robust configuration script, it would still be  
> desirable to check in 10_linux whether @GETTEXTBIN@ exists and revert to  
> echo otherwise, wouldn't it?

As long as the script complains appropiately and exits non-zero if gettext
was installed, I would consider it robust (keep in mind grub.cfg isn't
touched at all unless all sub-scripts exit succesfuly).

-- 
Robert Millan

  "Be the change you want to see in the world" -- Gandhi


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to