changeset 18195:6e8c424887ca

Make static libavutil detection semantics explicit.
author diego
date Sat, 22 Apr 2006 17:31:10 +0000
parents fe877135c408
children f7f6984638f8
files configure
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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"