Branch: Tag:

2012-07-18

2012-07-18 22:11:02 by Bill Welliver <hww3@riverweb.com>

Build: exclude mach headers on Darwin releases where these conflict with threads.

--HG--
extra : rebase_source : 9b288b4b9f515e6dad7b68f508cfc37d4fd08043

3932:       xDarwin*)    LIBS="${OLDLIBS}" +  +  # +  # it would probably be better to create a compilation test should this +  # behavior change in the future, however for now, we accept this as "good enough" +  # +  AC_MSG_CHECKING([whether Darwin dislikes threads and mach includes]) +  case "`uname -r`" in +  [1-9].*) +  AC_MSG_RESULT([no (10.5 or older)])    ;; -  +  *) +  AC_DEFINE([USE_DARWIN_THREADS_WITHOUT_MACH], [1], [Define if pthreads and mach headers conflict]) +  AC_MSG_RESULT([yes (10.6 or newer)]) +  pike_cv_osx_threads_dislike_mach=yes +  ;; +  esac    -  +  ;; +     *)    LIBS="${OLDLIBS} -lpthread"    ;;