Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NHmFx-0001G8-Jz for mharc-grub-devel@gnu.org; Mon, 07 Dec 2009 17:40:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHmFv-0001DW-8u for grub-devel@gnu.org; Mon, 07 Dec 2009 17:40:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHmFq-00019M-B7 for grub-devel@gnu.org; Mon, 07 Dec 2009 17:40:34 -0500 Received: from [199.232.76.173] (port=33105 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHmFq-00019E-4h for grub-devel@gnu.org; Mon, 07 Dec 2009 17:40:30 -0500 Received: from smarthost01.mail.zen.net.uk ([212.23.3.140]:60331) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHmFp-0005qf-Sg for grub-devel@gnu.org; Mon, 07 Dec 2009 17:40:30 -0500 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost01.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1NHmFo-0007D2-Ew for grub-devel@gnu.org; Mon, 07 Dec 2009 22:40:28 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1NHmFn-0002Yh-00; Mon, 07 Dec 2009 22:40:27 +0000 Date: Mon, 7 Dec 2009 22:40:27 +0000 From: Colin Watson To: The development of GNU GRUB Message-ID: <20091207224027.GJ6439@riva.ucam.org> References: <4B1D3D7E.5000909@gmail.com> <20091207192128.GG6439@riva.ucam.org> <4B1D6563.3000807@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B1D6563.3000807@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost01-IP: [82.69.40.219] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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: Mon, 07 Dec 2009 22:40:35 -0000 On Mon, Dec 07, 2009 at 02:28:19PM -0600, Bruce Dubbs wrote: > Colin Watson wrote: >> On Mon, Dec 07, 2009 at 11:38:06AM -0600, Bruce Dubbs wrote: >>> configure.ac:176: required file `./config.rpath' not found >>> >>> The can be fixed by `touch config.rpath` >> >> configure does actually run this, so I'd recommend copying the file from >> gettext or gnulib instead. > > The gettext version is a shell script about 670 lines long that is > described: > > # Output a system dependent set of variables, describing how to set the > # run time search path of shared libraries in an executable. > > I'm not sure GRUB uses or needs the output of config.rpath. I was just > suppressing a warning. It is very likely to be incorrect to suppress a warning about a missing executable by touching an empty file. As I said, configure does use the output of config.rpath. You can verify this for yourself by searching the configure script. Whether it makes a practical difference probably depends on the platform. >> This is likely to be delicate since we're not actually using Automake as >> such, and we already have a separate Makefile.in which needs to not be >> overwritten. I think adding a Makefile.am would make it just too easy to >> clobber that by accident, even if it does suppress a warning message. > > You are probably right. It looks like Makefile.in is basically > destroyed. Not good. It looks like automake thinks it knows more than > it's users Automake's warning is pretty much correct, as it happens. GRUB is really using it in a non-recommended way, but it is not at all straightforward to either avoid using it (since the gettext build system rather likes having it) or to use it properly (which involves a complete build system revamp). > and we'll have to live with the warning about missing > SUBDIRS. I think I could print out a message to ignore the spurious > warning. > > Do you want a new patch? Seems reasonable, yes. -- Colin Watson [cjwatson@ubuntu.com]