* configure patch for cross compilation
@ 2010-06-02 14:26 Paul Bender
2010-06-02 14:57 ` Kay Sievers
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Paul Bender @ 2010-06-02 14:26 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 418 bytes --]
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.
The patch adds informational messages related to checking for the
pci.ids file.
[-- Attachment #2: udev-157-pci_ids_path.patch.gz --]
[-- Type: application/gzip, Size: 604 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: configure patch for cross compilation
2010-06-02 14:26 configure patch for cross compilation Paul Bender
@ 2010-06-02 14:57 ` Kay Sievers
2010-06-02 15:09 ` Paul Bender
2010-06-02 15:40 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Kay Sievers @ 2010-06-02 14:57 UTC (permalink / raw)
To: linux-hotplug
On Wed, Jun 2, 2010 at 16:26, Paul Bender <pebender@san.rr.com> 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.
And please never send compressed patches, especially not when the
patch is 2 kb in size. :)
Kay
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: configure patch for cross compilation
2010-06-02 14:26 configure patch for cross compilation Paul Bender
2010-06-02 14:57 ` Kay Sievers
@ 2010-06-02 15:09 ` Paul Bender
2010-06-02 15:40 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Paul Bender @ 2010-06-02 15:09 UTC (permalink / raw)
To: linux-hotplug
On 6/2/2010 7:57 AM, Kay Sievers wrote:
> On Wed, Jun 2, 2010 at 16:26, Paul Bender<pebender@san.rr.com> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: configure patch for cross compilation
2010-06-02 14:26 configure patch for cross compilation Paul Bender
2010-06-02 14:57 ` Kay Sievers
2010-06-02 15:09 ` Paul Bender
@ 2010-06-02 15:40 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Kay Sievers @ 2010-06-02 15:40 UTC (permalink / raw)
To: linux-hotplug
On Wed, Jun 2, 2010 at 17:09, Paul Bender <pebender@san.rr.com> wrote:
> On 6/2/2010 7:57 AM, Kay Sievers wrote:
>>> 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.
Ah, great. It's a feature. :)
Applied. Thanks,
Kay
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-06-02 15:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-02 14:26 configure patch for cross compilation Paul Bender
2010-06-02 14:57 ` Kay Sievers
2010-06-02 15:09 ` Paul Bender
2010-06-02 15:40 ` Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).