Opened 9 years ago
Closed 9 years ago
Last modified 9 years ago
#12769 closed Bug Report - General (fixed)
configure libcec detection/include issue
Reported by: | Owned by: | Karl Egly | |
---|---|---|---|
Priority: | minor | Milestone: | 0.28.1 |
Component: | MythTV - configure script | Version: | 0.28.0 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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.
In c11433676b6cf3dd0dee55b87d5b0d3eb26cbdd3/mythtv: