configure
changeset 7977 5272ae8fccd7
parent 7811 9dfcc6bad831
child 7981 6d538bc1b395
     1.1 --- a/configure	Wed Nov 13 21:50:59 2013 -0800
     1.2 +++ b/configure	Wed Nov 13 22:35:26 2013 -0500
     1.3 @@ -21006,6 +21006,10 @@
     1.4              pthread_cflags="-D_REENTRANT"
     1.5              pthread_lib="-L/usr/lib -lpthread"
     1.6              ;;
     1.7 +        *-*-haiku*)
     1.8 +            pthread_cflags="-D_REENTRANT"
     1.9 +            pthread_lib=""
    1.10 +            ;;
    1.11          *)
    1.12              pthread_cflags="-D_REENTRANT"
    1.13              pthread_lib="-lpthread"
    1.14 @@ -22394,7 +22398,9 @@
    1.15              SDL_LIBS="-lcygwin $SDL_LIBS"
    1.16          fi
    1.17          ;;
    1.18 -    *-*-beos* | *-*-haiku*)
    1.19 +
    1.20 +
    1.21 +    *-*-haiku*)
    1.22          ARCH=beos
    1.23          ac_default_prefix=/boot/common
    1.24          CheckDummyVideo
    1.25 @@ -22402,6 +22408,7 @@
    1.26          CheckDummyAudio
    1.27          CheckBWINDOW
    1.28          CheckBeGL
    1.29 +        CheckPTHREAD
    1.30          # Set up files for the audio library
    1.31          if test x$enable_audio = xyes; then
    1.32  
    1.33 @@ -22418,16 +22425,6 @@
    1.34              SOURCES="$SOURCES $srcdir/src/joystick/beos/*.cc"
    1.35              have_joystick=yes
    1.36          fi
    1.37 -        # Set up files for the thread library
    1.38 -        if test x$enable_threads = xyes; then
    1.39 -
    1.40 -$as_echo "#define SDL_THREAD_BEOS 1" >>confdefs.h
    1.41 -
    1.42 -            SOURCES="$SOURCES $srcdir/src/thread/beos/*.c"
    1.43 -            SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_sysmutex.c"
    1.44 -            SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
    1.45 -            have_threads=yes
    1.46 -        fi
    1.47          # Set up files for the timer library
    1.48          if test x$enable_timers = xyes; then
    1.49