# HG changeset patch # User diego # Date 1145727070 0 # Node ID 6e8c424887caea43b19940fd1e19f25a7902c294 # Parent fe877135c4080d7124700ea29b2e20224fd187bd Make static libavutil detection semantics explicit. diff -r fe877135c408 -r 6e8c424887ca configure --- a/configure Sat Apr 22 17:04:38 2006 +0000 +++ b/configure Sat Apr 22 17:31:10 2006 +0000 @@ -1463,6 +1463,7 @@ # 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 @@ 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"