summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-10-20 15:33:37 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-10-21 14:00:54 -0700
commit11ac18e3d8f24cf3b7127acf4506d5fb7655d1b6 (patch)
treed2eefc4ce153140c4fbb2564c3ca193e2fcde3c4
parent0cb7b35756402d9c4b83f250a543a1f9ce9e015a (diff)
configure: Check for the right python module when detecting OpenCV
-rw-r--r--m4/ax_check_python2_module_opencv.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ax_check_python2_module_opencv.m4 b/m4/ax_check_python2_module_opencv.m4
index 34370d8..1048f99 100644
--- a/m4/ax_check_python2_module_opencv.m4
+++ b/m4/ax_check_python2_module_opencv.m4
@@ -32,7 +32,7 @@ AC_DEFUN([AX_CHECK_PYTHON2_MODULE_OPENCV],
[AC_MSG_CHECKING(if Python2 OpenCV modules is installed)
$PYTHON2 -c "
try:
- import cv
+ import cv2
except ImportError as err:
import sys
sys.exit(err)