configure.in
changeset 7391 a29895dc5e9a
parent 7388 058097637b4c
child 7433 8f118396264b
     1.1 --- a/configure.in	Tue Jul 09 12:58:54 2013 -0700
     1.2 +++ b/configure.in	Wed Jul 10 02:32:04 2013 -0700
     1.3 @@ -657,6 +657,7 @@
     1.4          case "$host" in
     1.5              *-*-openbsd*)
     1.6                  enable_oss=no;;
     1.7 +        esac
     1.8      fi
     1.9  
    1.10      if test x$enable_audio = xyes -a x$enable_oss = xyes; then
    1.11 @@ -2019,6 +2020,9 @@
    1.12              # We can fake these with semaphores and mutexes if necessary
    1.13              SOURCES="$SOURCES $srcdir/src/thread/pthread/SDL_syscond.c"
    1.14  
    1.15 +            # Thread local storage
    1.16 +            SOURCES="$SOURCES $srcdir/src/thread/pthread/SDL_systls.c"
    1.17 +
    1.18              have_threads=yes
    1.19          fi
    1.20      fi
    1.21 @@ -2470,9 +2474,7 @@
    1.22          # Set up files for the thread library
    1.23          if test x$enable_threads = xyes; then
    1.24              AC_DEFINE(SDL_THREAD_WINDOWS, 1, [ ])
    1.25 -            SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_sysmutex.c"
    1.26 -            SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_syssem.c"
    1.27 -            SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_systhread.c"
    1.28 +            SOURCES="$SOURCES $srcdir/src/thread/windows/*.c"
    1.29              SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
    1.30              have_threads=yes
    1.31          fi