Explorar el Código

* 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 hace 16 años
padre
commit
8681ce32cb
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. +6
    -0
      configure.ac

+ 6
- 0
configure.ac Ver fichero

@@ -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?


Cargando…
Cancelar
Guardar