From 1589b92e3257e215cdffe6525a9d811d468651ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Wed, 28 May 2008 00:44:20 +0200 Subject: [PATCH] Fix check for img_resample and sws_getContext --- configure.ac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 2dff37aa0d..b69c5b3293 100644 --- a/configure.ac +++ b/configure.ac @@ -3023,12 +3023,13 @@ dnl Trying with pkg-config [AC_CHECK_HEADERS([ffmpeg/swscale.h libswscale/swscale.h])], [AC_CHECK_LIB(avcodec,img_resample,[], [AC_MSG_ERROR([Your FFmpeg library doesn't have the needed img_resample() function. You should rebuild it with software scaler disabled, or install the swscale headers.])], + [${FFMPEG_LIBS}]) + ], [${SWSCALE_LIBS}]) - ]) VLC_RESTORE_FLAGS ],[AC_CHECK_LIB(avcodec,img_resample,[], [AC_MSG_ERROR([Your FFmpeg library doesn't have the needed img_resample() function. You should rebuild it with software scaler disabled, or install the swscale headers.])], - [${SWSCALE_LIBS}]) + [${FFMPEG_LIBS}]) ] ) @@ -3074,7 +3075,8 @@ dnl Trying with pkg-config [-lavcodec $LDAVUTIL]) LDFLAGS="${LDFLAGS_save}" CPPFLAGS="${CPPFLAGS_save}" - ]) + ], + [${SWSCALE_LIBS}]) ]) fi -- 2.39.2