From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NHnQ0-0005gi-PD for mharc-grub-devel@gnu.org; Mon, 07 Dec 2009 18:55:04 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHnPz-0005fT-0A for grub-devel@gnu.org; Mon, 07 Dec 2009 18:55:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHnPu-0005dp-RM for grub-devel@gnu.org; Mon, 07 Dec 2009 18:55:02 -0500 Received: from [199.232.76.173] (port=50901 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHnPu-0005dm-LH for grub-devel@gnu.org; Mon, 07 Dec 2009 18:54:58 -0500 Received: from smarthost03.mail.zen.net.uk ([212.23.3.142]:42438) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHnPu-00060I-G4 for grub-devel@gnu.org; Mon, 07 Dec 2009 18:54:58 -0500 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost03.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1NHnPs-0006RD-N8 for grub-devel@gnu.org; Mon, 07 Dec 2009 23:54:56 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1NHnPs-000367-00; Mon, 07 Dec 2009 23:54:56 +0000 Date: Mon, 7 Dec 2009 23:54:56 +0000 From: Colin Watson To: The development of GNU GRUB Message-ID: <20091207235455.GL6439@riva.ucam.org> References: <4B1D3D7E.5000909@gmail.com> <4B1D5C89.8080104@gmail.com> <4B1D6AB9.8070105@gmail.com> <4B1D8664.4070403@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B1D8664.4070403@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost03-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 23:55:03 -0000 On Mon, Dec 07, 2009 at 04:49:08PM -0600, Bruce Dubbs wrote: > I've been looking at autogen.sh some more. > > Does anyone know why the lines: > > # FIXME: automake doesn't like that there's no Makefile.am > automake -a -c -f || true > > are present at all? Since there is no Makefile.am, it looks like > automake only creates a few files and aborts. > > Doing an experiment, I checked out a new version of trunk twice. In > both cases I ran md5sum on all the files in the top level directory. In > case 1, I didn't change anything and ran autogen.sh and then ran md5sum > again. In case 2, I commented out the automake line above. > > As you can see below, automake only adds standard 'config.guess', > 'config.sub', and 'missing' scripts. > > The real purpose of automake is to create a Makefile.in for configure. > GRUB doesn't use it for that. Is there any reason to not just add the > three files to the bzr repository and remove the automake line from > autogen.sh? These files do change from time to time, in ways that are important; for example, config.guess and config.sub are updated to support new architectures or new variants of existing architectures. It's best to have this done automatically rather than doing it once manually and then forgetting about it. We could have a temporary directory in which we run automake, just for the purpose of getting hold of these files. Perhaps something like this: rm -rf automake-tmp mkdir -p automake-tmp cat >automake-tmp/configure.ac <