Updated configure after removing pthread spinlock support
authorSam Lantinga <slouken@libsdl.org>
Mon, 07 Jul 2014 21:34:04 -0700
changeset 89926d5b8a8752ce
parent 8991 13b0df1793e8
child 8993 bc47cf4c679d
Updated configure after removing pthread spinlock support
configure
     1.1 --- a/configure	Mon Jul 07 21:27:42 2014 -0700
     1.2 +++ b/configure	Mon Jul 07 21:34:04 2014 -0700
     1.3 @@ -21847,43 +21847,6 @@
     1.4  $as_echo "$have_sem_timedwait" >&6; }
     1.5              fi
     1.6  
     1.7 -            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_spin_trylock" >&5
     1.8 -$as_echo_n "checking for pthread_spin_trylock... " >&6; }
     1.9 -            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1.10 -/* end confdefs.h.  */
    1.11 -
    1.12 -/* Override any GCC internal prototype to avoid an error.
    1.13 -   Use char because int might match the return type of a GCC
    1.14 -   builtin and then its argument prototype would still apply.  */
    1.15 -#ifdef __cplusplus
    1.16 -extern "C"
    1.17 -#endif
    1.18 -char pthread_spin_trylock ();
    1.19 -int
    1.20 -main ()
    1.21 -{
    1.22 -return pthread_spin_trylock ();
    1.23 -  ;
    1.24 -  return 0;
    1.25 -}
    1.26 -_ACEOF
    1.27 -if ac_fn_c_try_link "$LINENO"; then :
    1.28 -
    1.29 -              has_pthread_spin_trylock=yes
    1.30 -
    1.31 -$as_echo "#define HAVE_PTHREAD_SPINLOCK 1" >>confdefs.h
    1.32 -
    1.33 -
    1.34 -else
    1.35 -
    1.36 -              has_pthread_spin_trylock=no
    1.37 -
    1.38 -fi
    1.39 -rm -f core conftest.err conftest.$ac_objext \
    1.40 -    conftest$ac_exeext conftest.$ac_ext
    1.41 -            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_pthread_spin_trylock" >&5
    1.42 -$as_echo "$has_pthread_spin_trylock" >&6; }
    1.43 -
    1.44              ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" " #include <pthread.h>
    1.45  "
    1.46  if test "x$ac_cv_header_pthread_np_h" = xyes; then :