[mythtv-commits] Ticket #9442: configure libxml2 with pkg-config
MythTV
noreply at mythtv.org
Tue Jan 4 18:09:45 UTC 2011
#9442: configure libxml2 with pkg-config
-------------------------------------+-------------------------------------
Reporter: Lawrence Rust | Owner: janne
<lvr@…> | Status: new
Type: Bug Report | Milestone: unknown
Priority: minor | Version: Trunk Head
Component: MythTV - configure | Keywords: libxml2 windows
script | configure
Severity: medium |
Ticket locked: 0 |
-------------------------------------+-------------------------------------
commit f6a46a055568da1bdf789464a428b7384524b561 added a configure time
check for libxml2 (used by libmythbluray) which is enabled by default and
has a hardcoded default include path. This requires cross compiling
systems (Linux->Windows) without target libxml2 to be aware of the
configure script version and disable libxml2. A more elegant solution
would be to use pkg-config:
{{{
if [ enabled libxml2 ]; then
if [ pkg-config --exists libxml-2.0 ]; then
libxml2_path_default=`pkg-config --cflags libxml-2.0`
else
disable libxml2
fi
fi
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9442>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list