X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=configure.ac;h=188d1fe64f9968cb30510613f687c0a4520299ac;hp=f9117465aa9625ba7adb09bf8ca16d32783a4421;hb=90ac46cdc5845432df13385f946c63b5496c685e;hpb=daca930fb2f404e8800c35715f1fc5c4897d19fb diff --git a/configure.ac b/configure.ac index f911746..188d1fe 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. @@ -23,7 +26,7 @@ if test $with_SDL2 = "yes"; then else PKG_CHECK_MODULES([SDL_image], [SDL_image], [], [with_demo_app=no; AC_MSG_WARN([SDL_image not found, demo program will not be built])]) fi -PKG_CHECK_MODULES([libpng], [libpng12], [], [with_demo_app=no; AC_MSG_WARN([libpng12 not found, demo program will not be built])]) +PKG_CHECK_MODULES([libpng], [libpng], [], [with_demo_app=no; AC_MSG_WARN([libpng not found, demo program will not be built])]) AC_SUBST([with_demo_app]) AC_SUBST([with_SDL2])