Skip to content

Commit

Permalink
Fix errant version check for libcec
Browse files Browse the repository at this point in the history
  • Loading branch information
Beirdo committed Jun 21, 2012
1 parent 2104fab commit e7409ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/configure
Expand Up @@ -4536,7 +4536,8 @@ using namespace std;
using namespace CEC;
#include <libcec/cecloader.h>
int main(void) {
if (CEC_LIB_VERSION_MAJOR < 1 && CEC_LIB_VERSION_MINOR < 5)
if (CEC_LIB_VERSION_MAJOR < 1 || (CEC_LIB_VERSION_MAJOR == 1 &&i
CEC_LIB_VERSION_MINOR < 5))
return 0;
return (long) LibCecInit;
}
Expand Down

0 comments on commit e7409ec

Please sign in to comment.