From 966fd12a2a9beb3bba294dc4a91a45bbafc4799f Mon Sep 17 00:00:00 2001 From: Yusuke Nakamura Date: Tue, 16 Feb 2010 11:05:21 -0800 Subject: [PATCH] Add GPAC version check --- configure | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 25f54588..d0ff43ad 100755 --- a/configure +++ b/configure @@ -584,7 +584,13 @@ if [ $SYS = MINGW ]; then fi if [ "$mp4_output" = "auto" ] ; then mp4_output="no" - cc_check gpac/isomedia.h "$MP4_LDFLAGS" && mp4_output="yes" + if cc_check gpac/isomedia.h "$MP4_LDFLAGS" ; then + if cc_check gpac/isomedia.h "$MP4_LDFLAGS" "gf_isom_set_pixel_aspect_ratio(0,0,0,0,0);" ; then + mp4_output="yes" + else + echo "Warning: gpac is too old, update to 2007-06-21 UTC or later" + fi + fi fi if [ "$mp4_output" = "yes" ] ; then define MP4_OUTPUT -- 2.47.3