X-Git-Url: https://git.ao2.it/gst-am7xxxsink.git/blobdiff_plain/cca0f663fd32ef20fbd9098256700eaccabb3f69..d1e635a150ad4b2bbaed8ca49fb7b076f1a019b7:/configure.ac diff --git a/configure.ac b/configure.ac index dd33f76..9ff90f8 100644 --- a/configure.ac +++ b/configure.ac @@ -37,6 +37,7 @@ PKG_CHECK_MODULES(GST, [ gstreamer-1.0 >= $GST_REQUIRED gstreamer-base-1.0 >= $GST_REQUIRED gstreamer-controller-1.0 >= $GST_REQUIRED + gstreamer-video-1.0 >= $GST_REQUIRED ], [ AC_SUBST(GST_CFLAGS) AC_SUBST(GST_LIBS) @@ -50,6 +51,17 @@ PKG_CHECK_MODULES(GST, [ ]) ]) +PKG_CHECK_MODULES(LIBAM7XXX, [ + libam7xxx >= 0.1 +], [ + AC_SUBST(LIBAM7XXX_CFLAGS) + AC_SUBST(LIBAM7XXX_LIBS) +], [ + AC_MSG_ERROR([ + libam7xxx not found. + ]) +]) + dnl check if compiler understands -Wall (if yes, add -Wall to GST_CFLAGS) AC_MSG_CHECKING([to see if compiler understands -Wall]) save_CFLAGS="$CFLAGS"