Differences From Artifact [d327b0c044]:
- File configure.ac — part of check-in [4ed4d32f48] at 2013-07-14 23:12:44 on branch trunk — configure.ac: Move h_errno / hstrerror check. (user: js, size: 22370) [annotate] [blame] [check-ins using]
To Artifact [58bf1c6235]:
- File
configure.ac
— part of check-in
[26f6bd3396]
at
2013-07-23 20:46:18
on branch trunk
— configure: Fix warning about missing spinlocks.
Also includes a few style improvements for runtime.h. (user: js, size: 22382) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
458 459 460 461 462 463 464 465 466 467 468 469 470 471 | PTHREAD_MUTEX_RECURSIVE); ], [ AC_DEFINE(OF_HAVE_RECURSIVE_PTHREAD_MUTEXES, 1, [If pthread mutexes can be recursive]) ]) AC_CHECK_FUNC(pthread_spin_lock, [ AC_DEFINE(OF_HAVE_PTHREAD_SPINLOCKS, 1, [Whether we have pthread spinlocks]) ]) AC_CHECK_FUNC(sched_yield, [ AC_DEFINE(OF_HAVE_SCHED_YIELD, 1, [Whether we have sched_yield()]) | > | 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 | PTHREAD_MUTEX_RECURSIVE); ], [ AC_DEFINE(OF_HAVE_RECURSIVE_PTHREAD_MUTEXES, 1, [If pthread mutexes can be recursive]) ]) AC_CHECK_FUNC(pthread_spin_lock, [ have_spinlocks="yes" AC_DEFINE(OF_HAVE_PTHREAD_SPINLOCKS, 1, [Whether we have pthread spinlocks]) ]) AC_CHECK_FUNC(sched_yield, [ AC_DEFINE(OF_HAVE_SCHED_YIELD, 1, [Whether we have sched_yield()]) |
︙ | ︙ | |||
864 865 866 867 868 869 870 | printf " ** To get optimal performance and be able to use all " echo "features, you should " echo " ** install Clang >= 3.2." echo ]) AS_IF([test x"$enable_threads" != x"no" -a x"$atomic_ops" = x"none" \ | | | 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 | printf " ** To get optimal performance and be able to use all " echo "features, you should " echo " ** install Clang >= 3.2." echo ]) AS_IF([test x"$enable_threads" != x"no" -a x"$atomic_ops" = x"none" \ -a x"$have_spinlocks" != x"yes"], [ echo printf " ** Warning: You have enabled threads, but neither atomic " echo "operations nor" printf " ** spinlocks are available. Expect *very* poor performance, " echo "as a mutex will" printf " ** be locked for every retain and release! If you don't " echo "need threads, try" echo " ** --disable-threads to work around this problem." echo ]) |