# HG changeset patch # User Sam Lantinga # Date 1077301100 0 # Node ID 96ba4eab74fb06afd717106aeac034dfde4f55bc # Parent 333db1d87876c75dcd6a7fa085da40180f81b612 *** empty log message *** diff -r 333db1d87876 -r 96ba4eab74fb configure.in --- a/configure.in Thu Feb 19 21:13:24 2004 +0000 +++ b/configure.in Fri Feb 20 18:18:20 2004 +0000 @@ -1229,6 +1229,7 @@ # Do futher testing if we have pthread support... if test x$use_pthreads = xyes; then CFLAGS="$CFLAGS $pthread_cflags -DSDL_USE_PTHREADS" + LIBS="$LIBS $pthread_lib" SDL_CFLAGS="$SDL_CFLAGS $pthread_cflags" SDL_LIBS="$SDL_LIBS $pthread_lib" diff -r 333db1d87876 -r 96ba4eab74fb src/main/dummy/SDL_dummy_main.c --- a/src/main/dummy/SDL_dummy_main.c Thu Feb 19 21:13:24 2004 +0000 +++ b/src/main/dummy/SDL_dummy_main.c Fri Feb 20 18:18:20 2004 +0000 @@ -1,11 +1,13 @@ /* Include the SDL main definition header */ #include "SDL_main.h" + #ifdef main #undef main -#endif - int main(int argc, char *argv[]) { return(SDL_main(argc, argv)); } +#else +/* Nothing to do on this platform */; +#endif