From e171c972ba120a0eaccf513170b5a19edb33dd5d Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Tue, 30 Jul 2013 01:34:40 +0000 Subject: fix configure for libav* >= 1.0 on Mac OS X git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3008 b956fd51-792f-4845-bead-9b4dfca2ff2c --- dists/autogen/m4/pkg_config_utils.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dists/autogen/m4') diff --git a/dists/autogen/m4/pkg_config_utils.m4 b/dists/autogen/m4/pkg_config_utils.m4 index d5585dc9..eba41565 100644 --- a/dists/autogen/m4/pkg_config_utils.m4 +++ b/dists/autogen/m4/pkg_config_utils.m4 @@ -101,7 +101,11 @@ AC_DEFUN([PKG_VERSION], if test $1 = "libavutil"; then AC_MSG_CHECKING([version of ffmpeg]) if test $[$1][_VERSION_INT] -le 60000000; then - if test $[$1][_VERSION_INT] -ge 52013100; then + if test $[$1][_VERSION_INT] -ge 52038100; then + FFMPEG_VERSION="2.0" + elif test $[$1][_VERSION_INT] -ge 52018100; then + FFMPEG_VERSION="1.2" + elif test $[$1][_VERSION_INT] -ge 52013100; then FFMPEG_VERSION="1.1" elif test $[$1][_VERSION_INT] -ge 51073101; then FFMPEG_VERSION="1.0" -- cgit v1.2.3