[SCM] libav/experimental: Use check_lib2 instead of check_lib in SDL test. This is helpful in combination with different calling/naming conventions as used in the OS/2 port of SDL. patch by Myung-Hun, komh a chollian d net

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:11:52 UTC 2013


The following commit has been merged in the experimental branch:
commit 1ca5d97fc8e513fb6f2ca62dee3c1e6ef4218c12
Author: KO Myung-Hun <komh at chollian.net>
Date:   Wed Jan 16 23:00:18 2008 +0000

    Use check_lib2 instead of check_lib in SDL test.  This is helpful in
    combination with different calling/naming conventions as used in the
    OS/2 port of SDL.
    patch by Myung-Hun, komh a chollian d net
    
    Originally committed as revision 11545 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 189f6e8..c242c49 100755
--- a/configure
+++ b/configure
@@ -1694,7 +1694,7 @@ if "${SDL_CONFIG}" --version >/dev/null 2>&1; then
     sdl_cflags=`"${SDL_CONFIG}" --cflags`
     temp_cflags $sdl_cflags
     temp_extralibs `"${SDL_CONFIG}" --libs`
-    if check_lib SDL.h SDL_Init; then
+    if check_lib2 SDL.h SDL_Init; then
         _sdlversion=`"${SDL_CONFIG}" --version | sed 's/[^0-9]//g'`
         if test "$_sdlversion" -lt 121 ; then
             enable sdl_too_old

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list