Browse Source

* configure.ac: do not bail out if OpenCV was not found at configure time.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2803 92316355-f0b4-4df1-b90c-862c8a59935f
remotes/tiles
sam 16 years ago
parent
commit
40bb2c590b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      configure.ac

+ 2
- 2
configure.ac View File

@@ -77,7 +77,7 @@ AM_CONDITIONAL(USE_SDL, test "${ac_cv_my_have_sdl}" = "yes")
# Use OpenCV? # Use OpenCV?
ac_cv_my_have_opencv="no" ac_cv_my_have_opencv="no"
OPENCV="no" OPENCV="no"
PKG_CHECK_MODULES(OPENCV, opencv, [ac_cv_my_have_opencv="yes"])
PKG_CHECK_MODULES(OPENCV, opencv, [ac_cv_my_have_opencv="yes"], [:])
if test "${ac_cv_my_have_opencv}" != "no"; then if test "${ac_cv_my_have_opencv}" != "no"; then
AC_DEFINE(USE_OPENCV, 1, Define to 1 to use OpenCV) AC_DEFINE(USE_OPENCV, 1, Define to 1 to use OpenCV)
fi fi
@@ -86,7 +86,7 @@ AM_CONDITIONAL(USE_OPENCV, test "${ac_cv_my_have_opencv}" = "yes")
# Use Imlib2? # Use Imlib2?
ac_cv_my_have_imlib2="no" ac_cv_my_have_imlib2="no"
IMLIB2="no" IMLIB2="no"
PKG_CHECK_MODULES(IMLIB2, imlib2, [ac_cv_my_have_imlib2="yes"])
PKG_CHECK_MODULES(IMLIB2, imlib2, [ac_cv_my_have_imlib2="yes"], [:])
if test "${ac_cv_my_have_imlib2}" != "no"; then if test "${ac_cv_my_have_imlib2}" != "no"; then
AC_DEFINE(USE_IMLIB2, 1, Define to 1 to use Imlib2) AC_DEFINE(USE_IMLIB2, 1, Define to 1 to use Imlib2)
fi fi


Loading…
Cancel
Save