mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-23 19:29:18 +00:00
Oh yeah, use a list.
This commit is contained in:
parent
94a385352e
commit
a1bea9b897
@ -292,12 +292,8 @@ AS_IF([test "x$have_libvhd" = "xyes" ], [
|
||||
|
||||
dnl We want pthreads. Try libpthread first, then libc_r (FreeBSD), then PTL.
|
||||
HAVE_PTHREADS=yes
|
||||
AC_SEARCH_LIBS([pthread_create], [pthread], , [
|
||||
AC_SEARCH_LIBS([pthread_create], [c_r], , [
|
||||
AC_SEARCH_LIBS([pthread_create], [PTL], , [
|
||||
HAVE_PTHREADS=no
|
||||
])
|
||||
])
|
||||
AC_SEARCH_LIBS([pthread_create], [pthread c_r PTL], , [
|
||||
HAVE_PTHREADS=no
|
||||
])
|
||||
if [[ "x$HAVE_PTHREADS" = "xyes" ]]; then
|
||||
AC_DEFINE(HAVE_PTHREADS, 1, [Define if pthreads are available.])
|
||||
|
Loading…
Reference in New Issue
Block a user