[vlc-commits] commit: Disable swscale if avcodec is disabled ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Wed Jul 21 19:26:39 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 21 20:25:59 2010 +0300| [964c7e91c0273447e3f830c9aec4d84d602851b9] | committer: Rémi Denis-Courmont 

Disable swscale if avcodec is disabled

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=964c7e91c0273447e3f830c9aec4d84d602851b9
---

 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index c36a7ae..d69de24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2768,7 +2768,9 @@ dnl
 
 AC_ARG_ENABLE(swscale,
   AS_HELP_STRING([--enable-swscale],[libswscale image scaling and conversion
-		  (default enabled)]))
+		  (default enabled)]),, [
+  enable_swscale="${have_avcodec}"
+])
 if test "${enable_swscale}" != "no"
 then
   PKG_CHECK_MODULES(SWSCALE,[libswscale],



More information about the vlc-commits mailing list