Merge pull request #467 from brad0/configure_macos

Add detection for function pthread_threadid_np for macOS
This commit is contained in:
Ronnie Sahlberg
2026-03-23 09:19:25 +10:00
committed by GitHub

View File

@@ -242,6 +242,9 @@ fi
AC_SUBST(LIBS_PRIVATE)
AM_CONDITIONAL([HAVE_PTHREAD_SPIN_LOCKS], [test x$ac_cv_lib_pthread_pthread_spin_lock = xyes])
# check for pthread_threadid_np
AC_CHECK_FUNCS(pthread_threadid_np)
AC_CACHE_CHECK([whether libcunit is available],
[ac_cv_have_cunit],
[ac_save_CFLAGS="$CFLAGS"