[mythtv] [PATCH] O_STREAMING patch

Nathan Poznick poznick at conwaycorp.net
Tue Dec 23 16:14:08 EST 2003


Thus spake Isaac Richards:
> On Tuesday 23 December 2003 03:50 pm, Kevin Elliott wrote:
> > On Tue, Dec 23, 2003 at 03:02:52PM -0500, Isaac Richards wrote:
> > > > 
> > > > Yet another useful situation for autoconf :)
> > >
> > > 
> > > Err, no, think about it.  There's no way to test for the presense of it
> > > if 
>  it's not defined anywhere but in the kernel headers (and not in the
> > > kernel header copies in /usr/include), and those can be, well, anywhere.
> >
> > 
> > Many applications do it. Like third-party kernel modules.
> > 
> > Hence:
> > 
> > /usr/src/`uname -r`/include/asm
> 
> Fails for my two machines.

Mine as well.  Not many people have a /usr/src/2.4.23 lying around most
likely.

The 'proper' way of making a 'best guess' as to the location of the
kernel source tree is more like:
/lib/modules/`uname -r`/build/include/asm 

Of course, that breaks if you compile the kernel and then move/remove
the source tree...

-- 
Nathan Poznick <poznick at conwaycorp.net>

Agitation is the atmosphere of the brains. - Wendell Phillips

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031223/48da8568/attachment.pgp


More information about the mythtv-dev mailing list