X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=configure.ac;h=427e67d8499d23c8758c06f546a830535094269f;hp=188d1fe64f9968cb30510613f687c0a4520299ac;hb=0ed2c7fe3876a49d1565e3425e5a491206ffe32d;hpb=f21268c5ec0607dadc42775d186b27704c18a399 diff --git a/configure.ac b/configure.ac index 188d1fe..427e67d 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,8 @@ AC_INIT(movit, git) LT_INIT PKG_PROG_PKG_CONFIG +CXXFLAGS="$CXXFLAGS -std=gnu++11" + AC_CONFIG_SRCDIR(effect.cpp) AC_CONFIG_AUX_DIR(.) @@ -28,7 +30,11 @@ else fi PKG_CHECK_MODULES([libpng], [libpng], [], [with_demo_app=no; AC_MSG_WARN([libpng not found, demo program will not be built])]) +# This is only needed for microbenchmarks, so optional. +PKG_CHECK_MODULES([benchmark], [benchmark], [with_benchmark=yes], [with_benchmark=no; AC_MSG_WARN([Google microbenchmark framework not found, microbenchmarks will not be built])]) + AC_SUBST([with_demo_app]) +AC_SUBST([with_benchmark]) AC_SUBST([with_SDL2]) with_coverage=no