From 2cb7c8ab3fc0e77cdedd20f24d5e34539ef228e2 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 22 Apr 2006 17:31:10 +0000 Subject: [PATCH] Make static libavutil detection semantics explicit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18196 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 32167d94d2..65bbf74527 100755 --- a/configure +++ b/configure @@ -1463,6 +1463,7 @@ _prefix="/usr/local" # GOTCHA: the variables below defines the default behavior for autodetection # and have - unless stated otherwise - at least 2 states : yes no # If autodetection is available then the third state is: auto +_libavutil=auto _libavcodec=auto _amr_nb=auto _amr_nb_fixed=auto @@ -5979,10 +5980,12 @@ echores "$_live" echocheck "FFmpeg libavutil (static)" -if test -d libavutil ; then - _libavutil=yes -else - _libavutil=no +if test "$_libavutil" = auto ; then + if test -d libavutil ; then + _libavutil=yes + else + _libavutil=no + fi fi echores "$_libavutil"