From: RĂ©mi Denis-Courmont Date: Wed, 21 Jul 2010 17:25:59 +0000 (+0300) Subject: Disable swscale if avcodec is disabled X-Git-Tag: 1.2.0-pre1~5731 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=964c7e91c0273447e3f830c9aec4d84d602851b9;p=vlc Disable swscale if avcodec is disabled --- diff --git a/configure.ac b/configure.ac index c36a7ae2fb..d69de24cfe 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],