X-Git-Url: https://git.ao2.it/gst-am7xxxsink.git/blobdiff_plain/cca0f663fd32ef20fbd9098256700eaccabb3f69..refs/heads/master:/configure.ac?ds=sidebyside diff --git a/configure.ac b/configure.ac index dd33f76..cd4c9d4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ dnl required version of autoconf -AC_PREREQ([2.53]) +AC_PREREQ([2.69]) AC_INIT([gst-am7xxxsink],[0.1.0],[http://ao2.it],[gst-am7xxxsink]) @@ -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"