1 AC_CONFIG_MACRO_DIR([m4])
2 AC_INIT(cubemap, 1.5.0)
4 AC_CONFIG_SRCDIR(main.cpp)
9 PKG_CHECK_MODULES([libsystemd], [libsystemd])
10 PKG_CHECK_MODULES([protobuf], [protobuf])
11 PKG_CHECK_MODULES([libtomcrypt], [libtomcrypt])
14 PKG_CHECK_MODULES([libavformat], [libavformat], [true], [have_ffmpeg=no])
15 PKG_CHECK_MODULES([libavutil], [libavutil], [true], [have_ffmpeg=no])
16 AC_SUBST([have_ffmpeg])
18 AS_IF([test "x$have_ffmpeg" = "xno" ],
19 [AC_MSG_WARN([FFmpeg libraries not found. ffmpeg_metacube_hack.so will not be built.])])
21 CXXFLAGS="$CXXFLAGS -std=gnu++11"
23 AC_CONFIG_FILES([Makefile])