X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=configure.ac;h=823740b9e610c39b69a898f68fe248d012ae9d6c;hp=79e99cadbaf0162dba9c83cf17968339ebed5261;hb=833bbfaf5387f213e6a9c355b93aa622c74ec88f;hpb=8c7e53028a3ef4805d2608643041a5d7e6bd1b6e diff --git a/configure.ac b/configure.ac index 79e99ca..823740b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,13 +1,16 @@ AC_CONFIG_MACRO_DIR([m4]) AC_INIT(movit, git) LT_INIT +PKG_PROG_PKG_CONFIG AC_CONFIG_SRCDIR(effect.cpp) +AC_CONFIG_AUX_DIR(.) AC_PROG_CC AC_PROG_CXX PKG_CHECK_MODULES([Eigen3], [eigen3]) PKG_CHECK_MODULES([epoxy], [epoxy]) +PKG_CHECK_MODULES([FFTW3], [fftw3]) # Needed for unit tests and the demo app. We prefer SDL2 if possible, # but can also use classic SDL. @@ -28,5 +31,9 @@ PKG_CHECK_MODULES([libpng], [libpng12], [], [with_demo_app=no; AC_MSG_WARN([libp AC_SUBST([with_demo_app]) AC_SUBST([with_SDL2]) +with_coverage=no +AC_ARG_ENABLE([coverage], [ --enable-coverage build with information needed to compute test coverage], [with_coverage=yes]) +AC_SUBST([with_coverage]) + AC_CONFIG_FILES([Makefile movit.pc]) AC_OUTPUT