[MPlayer-cvslog] r23835 - trunk/configure
reimar
subversion at mplayerhq.hu
Fri Jul 20 23:27:17 CEST 2007
Author: reimar
Date: Fri Jul 20 23:27:17 2007
New Revision: 23835
Log:
Change ggi and SDL tests so that linking problems with --enable-static are more
likely to be detected.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Fri Jul 20 23:27:17 2007
@@ -4154,7 +4154,7 @@ echocheck "GGI"
if test "$_ggi" = auto ; then
cat > $TMPC << EOF
#include <ggi/ggi.h>
-int main(void) { return 0; }
+int main(void) { ggiInit(); ggiWmhInit(); return 0; }
EOF
_ggi=no
cc_check -lggi && _ggi=yes
@@ -4606,7 +4606,10 @@ fi
if test "$_sdl" = auto || test "$_sdl" = yes ; then
cat > $TMPC << EOF
#include <SDL.h>
-int main(int argc, char *argv[]) { return 0; }
+int main(int argc, char *argv[]) {
+ SDL_Init(SDL_INIT_VIDEO|SDL_INIT_NOPARACHUTE);
+ return 0;
+}
EOF
_sdl=no
if "$_sdlconfig" --version >>"$TMPLOG" 2>&1 ; then
More information about the MPlayer-cvslog
mailing list