mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-22 13:31:08 +00:00
Use AC_SEARCH_LIBS for pthread location.
This commit is contained in:
parent
f2acf91add
commit
ffa877ee6c
@ -292,9 +292,9 @@ AS_IF([test "x$have_libvhd" = "xyes" ], [
|
||||
|
||||
dnl We want pthreads. Try libpthread first, then libc_r (FreeBSD), then PTL.
|
||||
HAVE_PTHREADS=yes
|
||||
AC_CHECK_LIB(pthread, pthread_create, , [
|
||||
AC_CHECK_LIB(c_r, pthread_create, , [
|
||||
AC_CHECK_LIB(PTL, pthread_create, , [
|
||||
AC_SEARCH_LIBS(pthread_create, pthread, , [
|
||||
AC_SEARCH_LIBS(pthread_create, c_r, , [
|
||||
AC_SEARCH_LIBS(pthread_create, PTL, , [
|
||||
HAVE_PTHREADS=no
|
||||
])
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user