1 AC_CONFIG_MACRO_DIR([m4])
5 AC_CONFIG_SRCDIR(effect.cpp)
9 PKG_CHECK_MODULES([Eigen3], [eigen3])
10 PKG_CHECK_MODULES([GLEW], [glew])
11 PKG_CHECK_MODULES([FFTW3], [fftw3])
13 # Needed for unit tests and the demo app.
14 PKG_CHECK_MODULES([SDL], [sdl])
16 # These are only needed for the demo app.
18 PKG_CHECK_MODULES([SDL_image], [SDL_image], [], [with_demo_app=no; AC_MSG_WARN([SDL_image not found, demo program will not be built])])
19 PKG_CHECK_MODULES([libpng], [libpng12], [], [with_demo_app=no; AC_MSG_WARN([libpng12 not found, demo program will not be built])])
21 AC_SUBST([with_demo_app])
24 AC_ARG_ENABLE([coverage], [ --enable-coverage build with information needed to compute test coverage], [with_coverage=yes])
25 AC_SUBST([with_coverage])
27 AC_CONFIG_FILES([Makefile movit.pc])