From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NHnWP-0000Tn-6l for mharc-grub-devel@gnu.org; Mon, 07 Dec 2009 19:01:41 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHnWL-0000Qn-Te for grub-devel@gnu.org; Mon, 07 Dec 2009 19:01:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHnWH-0000N8-RA for grub-devel@gnu.org; Mon, 07 Dec 2009 19:01:37 -0500 Received: from [199.232.76.173] (port=56305 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHnWH-0000Mt-GE for grub-devel@gnu.org; Mon, 07 Dec 2009 19:01:33 -0500 Received: from ey-out-1920.google.com ([74.125.78.146]:6354) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHnWH-0006fv-5x for grub-devel@gnu.org; Mon, 07 Dec 2009 19:01:33 -0500 Received: by ey-out-1920.google.com with SMTP id 4so534197eyg.34 for ; Mon, 07 Dec 2009 16:01:31 -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 :x-enigmail-version:content-type; bh=ImOwOizgeoC6Wzxtpu2ToTtszMB/rn9ciUySACKZkuk=; b=WORBmAeTk+AMgZgBXV2YEVu39pxbrCe1l28xJuoQQTI3rn2F1k2Ro9zGlYoa2OBLFJ XV0MVpGJ1+uQXdyujKlijspZ1dgxcoFZ60bMTTyknqZeup3S6iaJgcuPp+WMwvlmYY5+ C5Ng/4zpkddAb+t0ItYOqmFL6OK2T/5zpQOjo= 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:x-enigmail-version:content-type; b=nI/n79Ys+ocvhmR5Stm0P3lF6rKWOJPk6k3RnXQNxo/eh7Yn+qckIaMMMRadvf0cL3 POI5HfdQ34pdlviHbb7ti3tK+51FCJjV/rQGBHGH8znRYtw6BitpRigaDG2iv370zHwR WUmX4GijQ8wlVp91opUgUfbTyNYzV9SMgYjrc= Received: by 10.213.37.199 with SMTP id y7mr7732691ebd.36.1260230491815; Mon, 07 Dec 2009 16:01:31 -0800 (PST) Received: from debian.bg45.phnet (gprs01.swisscom-mobile.ch [193.247.250.1]) by mx.google.com with ESMTPS id 13sm3700026ewy.1.2009.12.07.16.01.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Dec 2009 16:01:30 -0800 (PST) Message-ID: <4B1D9758.1020303@gmail.com> Date: Tue, 08 Dec 2009 01:01:28 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <4B1D3D7E.5000909@gmail.com> <4B1D5C89.8080104@gmail.com> <4B1D6AB9.8070105@gmail.com> <4B1D8664.4070403@gmail.com> <20091207235455.GL6439@riva.ucam.org> In-Reply-To: <20091207235455.GL6439@riva.ucam.org> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig6315FCE853C6E24809680DFA" 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: Tue, 08 Dec 2009 00:01:38 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6315FCE853C6E24809680DFA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Colin Watson wrote: > On Mon, Dec 07, 2009 at 04:49:08PM -0600, Bruce Dubbs wrote: > =20 >> 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 =20 >> 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 =20 >> case 1, I didn't change anything and ran autogen.sh and then ran md5su= m >> again. In case 2, I commented out the automake line above. >> >> As you can see below, automake only adds standard 'config.guess', =20 >> 'config.sub', and 'missing' scripts. >> >> The real purpose of automake is to create a Makefile.in for configure.= =20 >> GRUB doesn't use it for that. Is there any reason to not just add the= =20 >> three files to the bzr repository and remove the automake line from =20 >> autogen.sh? >> =20 > > These files do change from time to time, in ways that are important; fo= r > 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 the= n > 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 < AC_INIT([temporary], [0.1]) > AC_CONFIG_AUX_DIR([.]) > AM_INIT_AUTOMAKE > AC_CANONICAL_BUILD > AC_CONFIG_FILES([Makefile]) > EOF > touch automake-tmp/Makefile.am > (cd automake-tmp && aclocal && automake -a -c -f --foreign) > cp -a automake-tmp/config.guess automake-tmp/config.sub \ > automake-tmp/install-sh automake-tmp/missing \ > . > rm -rf automake-tmp > > I don't know whether this is worth it, but it would be possible. > > =20 Why can't Makefile.in moved to Makefile.am and then just let automake mostly copy Makefile.am to Makefile.in ? (I'm automake newbie), just an i= dea --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig6315FCE853C6E24809680DFA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAksdl1gACgkQNak7dOguQgk0egD/Vg61pPOqpW/bdWXtGkOw9xYR RCagUfkpqEvROoPIcBYA+wR/+pDRyQwWVfkDmT6uLm2GDOV9ompIcwiRsM89EroF =PmWH -----END PGP SIGNATURE----- --------------enig6315FCE853C6E24809680DFA--