configure.in
changeset 9620 2a9739ca6440
parent 9574 98c57505d74d
child 9625 6d686d166a9e
equal deleted inserted replaced
9619:b94b6d0bff0f 9620:2a9739ca6440
  2411         if test x$use_pthreads = xyes; then
  2411         if test x$use_pthreads = xyes; then
  2412             AC_DEFINE(SDL_THREAD_PTHREAD, 1, [ ])
  2412             AC_DEFINE(SDL_THREAD_PTHREAD, 1, [ ])
  2413             EXTRA_CFLAGS="$EXTRA_CFLAGS $pthread_cflags"
  2413             EXTRA_CFLAGS="$EXTRA_CFLAGS $pthread_cflags"
  2414             EXTRA_LDFLAGS="$EXTRA_LDFLAGS $pthread_lib"
  2414             EXTRA_LDFLAGS="$EXTRA_LDFLAGS $pthread_lib"
  2415             SDL_CFLAGS="$SDL_CFLAGS $pthread_cflags"
  2415             SDL_CFLAGS="$SDL_CFLAGS $pthread_cflags"
  2416             SDL_LIBS="$SDL_LIBS $pthread_lib"
       
  2417 
  2416 
  2418             # Save the original compiler flags and libraries
  2417             # Save the original compiler flags and libraries
  2419             ac_save_cflags="$CFLAGS"; ac_save_libs="$LIBS"
  2418             ac_save_cflags="$CFLAGS"; ac_save_libs="$LIBS"
  2420             # Add the pthread compiler flags and libraries
  2419             # Add the pthread compiler flags and libraries
  2421             CFLAGS="$CFLAGS $pthread_cflags"; LIBS="$LIBS $pthread_lib"
  2420             CFLAGS="$CFLAGS $pthread_cflags"; LIBS="$LIBS $pthread_lib"