[vlc-devel] commit: Fix pkg-config based libswscale detection tests. ( Antoine Cellerier )

git version control git at videolan.org
Mon May 26 14:12:04 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Mon May 26 14:13:20 2008 +0200| [3538dcff661918a5fd9be9d80ca9b04a790c277e]

Fix pkg-config based libswscale detection tests.

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

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

diff --git a/configure.ac b/configure.ac
index 1e78013..1b52e36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3239,7 +3239,7 @@ dnl Trying with pkg-config
        VLC_ADD_CFLAGS([ffmpeg],[${SWSCALE_CFLAGS}])
        VLC_ADD_LIBS([ffmpeg],[${SWSCALE_LIBS}])
        AC_CHECK_LIB(swscale, sws_getContext,
-         [AC_CHECK_HEADERS([ffmpeg/swscale.h libswscale/swscale.h])],[],[-lavutil -lm])
+         [AC_CHECK_HEADERS([ffmpeg/swscale.h libswscale/swscale.h])],[],[${SWSCALE_LIBS}])
        ],[ true ])
      VLC_RESTORE_FLAGS
     ],[




More information about the vlc-devel mailing list