From e41a777626c95c97e14451c221688447187fa48b Mon Sep 17 00:00:00 2001 From: Yasuhiro Ikeda Date: Sun, 24 Apr 2011 15:33:45 +0900 Subject: [PATCH] Support more recent GPAC versions --- configure | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 29b6e854..ca4f4495 100755 --- a/configure +++ b/configure @@ -780,12 +780,12 @@ if [ "$swscale" = "yes" ]; then fi fi -GPAC_LIBS="-lgpac_static" -if [ $SYS = WINDOWS ]; then - GPAC_LIBS="$GPAC_LIBS -lwinmm" -fi if [ "$gpac" = "auto" ] ; then gpac="no" + cc_check "" -lz && GPAC_LIBS="-lgpac_static -lz" || GPAC_LIBS="-lgpac_static" + if [ "$SYS" = "WINDOWS" ] ; then + GPAC_LIBS="$GPAC_LIBS -lwinmm" + fi if cc_check gpac/isomedia.h "$GPAC_LIBS" ; then if cc_check gpac/isomedia.h "$GPAC_LIBS" "gf_isom_set_pixel_aspect_ratio(0,0,0,0,0);" ; then gpac="yes" -- 2.47.3