瀏覽代碼

* Define USE_SDL and USE_OPENCV in addition to USE_IMLIB2.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2259 92316355-f0b4-4df1-b90c-862c8a59935f
remotes/tiles
sam 16 年之前
父節點
當前提交
8681ce32cb
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. +6
    -0
      configure.ac

+ 6
- 0
configure.ac 查看文件

@@ -69,6 +69,9 @@ AC_CHECK_HEADERS(SDL_image.h,
[ac_cv_my_have_sdl="yes"],
[ac_cv_my_have_sdl="no"])
CPPFLAGS="${save_CPPFLAGS}"
if test "${ac_cv_my_have_sdl}" != "no"; then
AC_DEFINE(USE_SDL, 1, Define to 1 to use SDL_image)
fi
AM_CONDITIONAL(USE_SDL, test "${ac_cv_my_have_sdl}" = "yes")

# Use OpenCV?
@@ -82,6 +85,9 @@ AC_CHECK_HEADERS(cv.h,
[ac_cv_my_have_opencv="yes"],
[ac_cv_my_have_opencv="no"])
CPPFLAGS="${save_CPPFLAGS}"
if test "${ac_cv_my_have_opencv}" != "no"; then
AC_DEFINE(USE_OPENCV, 1, Define to 1 to use OpenCV)
fi
AM_CONDITIONAL(USE_OPENCV, test "${ac_cv_my_have_opencv}" = "yes")

# Use Imlib2?


Loading…
取消
儲存