From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KpHMU-0006d2-Oz for mharc-grub-devel@gnu.org; Mon, 13 Oct 2008 02:57:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpHMT-0006cN-FU for grub-devel@gnu.org; Mon, 13 Oct 2008 02:57:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpHMR-0006cB-Sr for grub-devel@gnu.org; Mon, 13 Oct 2008 02:57:00 -0400 Received: from [199.232.76.173] (port=55099 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpHMR-0006c8-My for grub-devel@gnu.org; Mon, 13 Oct 2008 02:56:59 -0400 Received: from mx20.gnu.org ([199.232.41.8]:43378) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpHMQ-0003g8-TE for grub-devel@gnu.org; Mon, 13 Oct 2008 02:56:59 -0400 Received: from moutng.kundenserver.de ([212.227.126.177]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KpHME-0001WM-Hr for grub-devel@gnu.org; Mon, 13 Oct 2008 02:56:46 -0400 Received: from helfmeier.de (port-92-195-40-36.dynamic.qsc.de [92.195.40.36]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1KpHM52V1d-0007aj; Mon, 13 Oct 2008 08:56:39 +0200 Received: by helfmeier.de (sSMTP sendmail emulation); Mon, 13 Oct 2008 08:56:39 +0200 Date: Mon, 13 Oct 2008 08:56:39 +0200 From: Clemens Helfmeier To: The development of GRUB 2 Message-ID: <20081013065639.GD2412@helfmeier.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.3 X-Provags-ID: V01U2FsdGVkX19t5Zi5U/uwcRZ8q7oTTdVoJllszdp1BbF5reb U4UZXmgxAcMmDWOL+LnYCVhppN6cUcbRSnppkot/SuGHej852U gO+ylieHBaEHN44l7IhLg== X-detected-kernel: by mx20.gnu.org: Linux 2.6? (barebone, rare!) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Problem in configure X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 06:57:01 -0000 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 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