From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NIc9k-0008Qo-L1 for mharc-grub-devel@gnu.org; Thu, 10 Dec 2009 01:05:40 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIc9i-0008QY-8T for grub-devel@gnu.org; Thu, 10 Dec 2009 01:05:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIc9d-0008Q6-IZ for grub-devel@gnu.org; Thu, 10 Dec 2009 01:05:37 -0500 Received: from [199.232.76.173] (port=45780 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIc9d-0008Pv-CF for grub-devel@gnu.org; Thu, 10 Dec 2009 01:05:33 -0500 Received: from mail-gx0-f212.google.com ([209.85.217.212]:57795) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NIc9c-0004Xe-Vl for grub-devel@gnu.org; Thu, 10 Dec 2009 01:05:33 -0500 Received: by gxk4 with SMTP id 4so12023018gxk.8 for ; Wed, 09 Dec 2009 22:05:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=T/aEQIo9Fr5ypMioYzUYbINsnMInem49Cots8UCqWXc=; b=UI4MGQyWg5sC6TDj9yDyTfubPVU0M0MPl8tPPFDLwiLk7csDNMX8cWspJrQRUo/C4+ gYS0Z3ucfj48RvMWc1CNIB6GFbmHpVsWkC6hhxK4Os8bJMHMrnnec2tWC0mVk9jkpIdx SU2wAfc30P/bKDQ8+yNECmEvssCeNzrUivvUY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=wzcBlaTl725TG6XShiAbtZznEYyHYBoKvs5GCEBHpPujSjMutS2IM8bIu52O6ptjgI preAne1ixSfAlkJr8pJCDSwSQGdOSnqIUZAmSb/lZbPYhqWmRYpicAp3P+WIjfEVOtOM ScL32/ekNq7PojwUENN8LehBr1B6dq1LPVzIY= Received: by 10.150.125.24 with SMTP id x24mr18102519ybc.5.1260425131996; Wed, 09 Dec 2009 22:05:31 -0800 (PST) Received: from ?192.168.0.75? (cpe-66-69-97-231.satx.res.rr.com [66.69.97.231]) by mx.google.com with ESMTPS id 9sm271855yxf.41.2009.12.09.22.05.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 09 Dec 2009 22:05:31 -0800 (PST) Message-ID: <4B208FAA.6020709@gmail.com> Date: Thu, 10 Dec 2009 00:05:30 -0600 From: Bruce Dubbs User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080722 SeaMonkey/1.1.11 MIME-Version: 1.0 To: The development of GNU GRUB References: <4B1D3D7E.5000909@gmail.com> <20091207192128.GG6439@riva.ucam.org> <20091209215253.GH7093@thorin> <4B20225C.40807@gmail.com> <1260398055.2881.14.camel@fz.local> <4B203295.2020102@gmail.com> <1260404737.2881.27.camel@fz.local> In-Reply-To: <1260404737.2881.27.camel@fz.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: autogen.sh warnings X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2009 06:05:39 -0000 Felix Zielcke wrote: > Am Mittwoch, den 09.12.2009, 17:28 -0600 schrieb Bruce Dubbs: >> Felix Zielcke wrote: >>> Am Mittwoch, den 09.12.2009, 16:19 -0600 schrieb Bruce Dubbs: >>> config.guess and config.sub are used by configure. >> Called yes, and it will give errors if not present, but is the output >> used? Looking at configure, I don't think so. > Just looking at the second result for searching config.guess in > configure makes it pretty clear for what they're used: > { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 > $as_echo_n "checking build system type... " >&6; } > if test "${ac_cv_build+set}" = set; then : > $as_echo_n "(cached) " >&6 > else > ac_build_alias=$build_alias > test "x$ac_build_alias" = x && > ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` > test "x$ac_build_alias" = x && > as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 > ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || > as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 > [...] > build=$ac_cv_build OK, I see now what config.sub does and it is ultimately defining host_os and target_cpu used by grub in several .in files. On the other hand, config.guess is used to get build_cpu and build_os and I don't see that being used at all right now by grub. One thing I think we can agree on is that tracing through autoconf/automake generated files is not easy. However, it's the only way I know of to really understand what is going on. The autoconf manual really doesn't explain it very well, at least for me. There are several tutorials and books on autotools, but none that I've seen go into the level of complexity required by grub. -- Bruce