mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 21:36:35 +00:00
45a4d305fd
Original commit message from CVS: the cothreads library now builds, but it's untested the public api is in cothreads.h
15 lines
452 B
Text
15 lines
452 B
Text
dnl Check for LinuxThreads
|
|
dnl COTHREADS_CHECK_LINUXTHREADS
|
|
dnl no arguments
|
|
AC_DEFUN([COTHREADS_CHECK_LINUXTHREADS], [
|
|
AC_CACHE_CHECK([for LinuxThreads],
|
|
[cothreads_cv_linuxthreads],
|
|
[AC_EGREP_CPP(pthread_kill_other_threads_np,
|
|
[#include <pthread.h>],
|
|
[cothreads_cv_linuxthreads=yes],
|
|
[cothreads_cv_linuxthreads=no])
|
|
])
|
|
if test $cothreads_cv_linuxthreads = yes; then
|
|
AC_DEFINE(HAVE_LINUXTHREADS,1,[if you have LinuxThreads])
|
|
fi
|
|
])
|