Hi James, This is a shell thing. It just ensures that the evaluation does not result in if test = xno; then (in case the variable is empty) and thus throw an error. with "x" it its like this for an empty variable if test x = xno; then which would work fine for shells.
The x does not affect the result of the evaluation since it is on both sides of the evaluation. Bye, Clemens On Sun, Oct 12, 2008 at 09:08:09PM -0400, James Shewey wrote: > This may be a nevermind situation. I was compiling on a 64 bit system. > Changing the line described to if test "$grub_cv_prog_target_cc" = xno; > then" Resulted in an error stating that neither start or _start was defined. > This led me to the following post: > http://bbs.archlinux.org/viewtopic.php?id=56033. This led me to try > compiling on my 32 bit system which worked just fine. > > On Sun, Oct 12, 2008 at 8:29 PM, James Shewey <[EMAIL PROTECTED]> wrote: > > > I believe that line 6938, which reads: > > > > if test "x$grub_cv_prog_target_cc" = xno; then > > > > May contain an error. Perhaps this should read > > > > if test "$grub_cv_prog_target_cc" = xno; then > > > > or > > > > if test "$grub_cv_prog_target_cc" = no; then > > > > ? > > > > -James > > > > > > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel