[mythtv-commits] Ticket #12769: configure libcec detection/include issue

MythTV noreply at mythtv.org
Fri May 13 19:24:54 UTC 2016


#12769: configure libcec detection/include issue
-------------------------------------------------+-------------------------
     Reporter:  Gary Buhrmaster                  |      Owner:  jyavenard
  <gary.buhrmaster@…>                            |
         Type:  Bug Report - General             |     Status:  new
     Priority:  minor                            |  Milestone:  unknown
    Component:  MythTV - configure script        |    Version:  Master Head
     Severity:  medium                           |   Keywords:
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 I note that with some recent builds on Fedora (can be seen in the buildbot
 build logs) that the compilation gcc command line has a
 {{{
 -I-I/usr/include/libcec
 }}}
 (note the double -I), and I also note the configure output for libcec is
 {{{
 libCEC device support     yes [-I/usr/include/libcec ]
 }}}
 and for other reports it is just the path, not including the -I.

 I believe (that depending on distro) this may not matter since the current
 MythTV codes are of the form #include <libcec/cec.h> (or equivalent), so
 (typically) the system /usr/include will be sufficient to locate the
 includes once support has been detected as available, but there does
 appear to be a bug here.

 I just wanted to get this into trac while I noticed it.  It may (or may
 not) be relevant that there were some (reasonably) recent changes in the
 configure script for libcec with b39489f247c9ccdc99ff813a4de5f1e48c48ef3c
 to use pkg-config to improve detection of libcec support.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12769>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list