Permalink
Browse files

Fix errant version check for libcec

  • Loading branch information...
1 parent 2104fab commit e7409ec9342ed26aea26e9ee3c91452c91f38e9e @Beirdo Beirdo committed Jun 21, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 mythtv/configure
View
@@ -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;
}

0 comments on commit e7409ec

Please sign in to comment.