From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Bender Date: Wed, 02 Jun 2010 15:09:22 +0000 Subject: Re: configure patch for cross compilation Message-Id: <4C067422.5050607@san.rr.com> List-Id: References: <4C066A21.9090507@san.rr.com> In-Reply-To: <4C066A21.9090507@san.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On 6/2/2010 7:57 AM, Kay Sievers wrote: > On Wed, Jun 2, 2010 at 16:26, Paul Bender wrote: >> The message asking about cross compilation reminded me that I have a patch >> that is needed for cross compilation. Because autoconf's AC_CHECK_FILE fails >> when cross compiling, it use in location the pci.ids file needs to be >> surrounded in a conditional. Otherwise, the configure script never allows >> the --with-pci-ids-path to be used. > > Why would that fail? There are 3 test in a row, two of them are > expected to always fail. If all of them will fail, if you must specify > the thing on the commandline. That seems to work fine here. I should not have used the term 'fail'. Rather, I should have used the term 'die'. The AC_CHECK_FILE macro checks to see whether or not the package is being cross compiled. If it is, then then it dies, causing the configure script to stop. > And please never send compressed patches, especially not when the > patch is 2 kb in size. :) No problem, I will try to remember in the future. Some mailing lists prefer compressing patches because of the mangling that some mail list archiving software does to text attachments. I have trouble keeping track of which list prefers which format.