sdl.m4
changeset 1 cf2af46e9e2a
parent 0 74212992fb08
child 168 e92aa316c517
equal deleted inserted replaced
0:74212992fb08 1:cf2af46e9e2a
   138           CFLAGS="$CFLAGS $SDL_CFLAGS"
   138           CFLAGS="$CFLAGS $SDL_CFLAGS"
   139           LIBS="$LIBS $SDL_LIBS"
   139           LIBS="$LIBS $SDL_LIBS"
   140           AC_TRY_LINK([
   140           AC_TRY_LINK([
   141 #include <stdio.h>
   141 #include <stdio.h>
   142 #include "SDL.h"
   142 #include "SDL.h"
       
   143 
       
   144 int main(int argc, char *argv[])
       
   145 { return 0; }
       
   146 #undef  main
       
   147 #define main K_and_R_C_main
   143 ],      [ return 0; ],
   148 ],      [ return 0; ],
   144         [ echo "*** The test program compiled, but did not run. This usually means"
   149         [ echo "*** The test program compiled, but did not run. This usually means"
   145           echo "*** that the run-time linker is not finding SDL or finding the wrong"
   150           echo "*** that the run-time linker is not finding SDL or finding the wrong"
   146           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
   151           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
   147           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
   152           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"