Changeset 2259 for libpipi


Ignore:
Timestamp:
Mar 11, 2008, 3:56:22 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Define USE_SDL and USE_OPENCV in addition to USE_IMLIB2.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/configure.ac

    r2258 r2259  
    7070 [ac_cv_my_have_sdl="no"])
    7171CPPFLAGS="${save_CPPFLAGS}"
     72if test "${ac_cv_my_have_sdl}" != "no"; then
     73  AC_DEFINE(USE_SDL, 1, Define to 1 to use SDL_image)
     74fi
    7275AM_CONDITIONAL(USE_SDL, test "${ac_cv_my_have_sdl}" = "yes")
    7376
     
    8386 [ac_cv_my_have_opencv="no"])
    8487CPPFLAGS="${save_CPPFLAGS}"
     88if test "${ac_cv_my_have_opencv}" != "no"; then
     89  AC_DEFINE(USE_OPENCV, 1, Define to 1 to use OpenCV)
     90fi
    8591AM_CONDITIONAL(USE_OPENCV, test "${ac_cv_my_have_opencv}" = "yes")
    8692
Note: See TracChangeset for help on using the changeset viewer.