From 964c7e91c0273447e3f830c9aec4d84d602851b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Wed, 21 Jul 2010 20:25:59 +0300 Subject: [PATCH] Disable swscale if avcodec is disabled --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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], -- 2.39.2