Fix an improper configure.ac

This commit is contained in:
Bradlee Speice 2012-06-22 23:36:21 -04:00
parent a01bf54b5d
commit 01411ebc4a

View File

@ -30,8 +30,8 @@ AC_PATH_X
#Configure OpenCV - version 2+ breaks a lot of things
PKG_CHECK_MODULES([OpenCV], [opencv >= 2.0.0], [use_opencv2=true], [use_opencv1=true])
AM_CONDITIONAL(USEOPENCV2, [test "$use_opencv2" != ""])
if test "$use_opencv2" != ""; then
AM_CONDITIONAL(USEOPENCV2, true)
AC_DEFINE(USEOPENCV2)
fi
if test "$use_opencv1" != ""; then