• Ryan C. Gordon's avatar
    Fix dlvsym() detection in the configure script. · 36330ae2
    Ryan C. Gordon authored
    --ryan.
    
    
    From: Mike Frysinger <vapier@gentoo.org>
    To: sdl@libsdl.org
    Subject: Re: [SDL] sdl, sdl-mixer not compiling with uclibc
    Date: Wed, 7 Sep 2005 19:17:49 -0400
    
    in this case actually, the error is in libsdl
    
    the configure check for dlvsym presence is pretty pointless, it currently
    always detects it
    
    		AC_TRY_COMPILE([
    		  #include <stdio.h>
    		  #define __USE_GNU
    		  #include <dlfcn.h>
    		],[
    		  dlvsym(NULL,"","");
    		],[
    		use_dlvsym=yes
    		])
    
    since it's merely compiling, the warning about dlvsym being implicitly
    declared doesnt trigger a failure
    
    find attached a patch to fix this
    -mike
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401139
    36330ae2
configure.in 102 KB