mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-22 13:31:08 +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.
|
dnl We want pthreads. Try libpthread first, then libc_r (FreeBSD), then PTL.
|
||||||
HAVE_PTHREADS=yes
|
HAVE_PTHREADS=yes
|
||||||
AC_SEARCH_LIBS([pthread_create], [pthread], , [
|
AC_SEARCH_LIBS([pthread_create], [pthread c_r PTL], , [
|
||||||
AC_SEARCH_LIBS([pthread_create], [c_r], , [
|
HAVE_PTHREADS=no
|
||||||
AC_SEARCH_LIBS([pthread_create], [PTL], , [
|
|
||||||
HAVE_PTHREADS=no
|
|
||||||
])
|
|
||||||
])
|
|
||||||
])
|
])
|
||||||
if [[ "x$HAVE_PTHREADS" = "xyes" ]]; then
|
if [[ "x$HAVE_PTHREADS" = "xyes" ]]; then
|
||||||
AC_DEFINE(HAVE_PTHREADS, 1, [Define if pthreads are available.])
|
AC_DEFINE(HAVE_PTHREADS, 1, [Define if pthreads are available.])
|
||||||
|
Loading…
Reference in New Issue
Block a user