From 9735385a4715982ad1b592c29a72474f8955ae19 Mon Sep 17 00:00:00 2001 From: bvarner Date: Wed, 28 Jun 2017 15:48:29 -0400 Subject: [PATCH] Testing this out just to see what the output is underbitbake --- BasiliskII/src/Unix/configure.ac | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/BasiliskII/src/Unix/configure.ac b/BasiliskII/src/Unix/configure.ac index 92b8bfbd..4f1bfeec 100644 --- a/BasiliskII/src/Unix/configure.ac +++ b/BasiliskII/src/Unix/configure.ac @@ -290,9 +290,16 @@ 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 npth, then libc_r (FreeBSD), then PTL. +AC_SEARCH_LIBS([pthread_create], [pthread]) +AC_SEARCH_LIBS([pthread_create], [npth]) +AC_SEARCH_LIBS([pthread_create], [c_r]) +AC_SEARCH_LIBS([pthread_create], [PTL]) + + + HAVE_PTHREADS=yes -AC_SEARCH_LIBS([pthread_create], [pthread npth c_r PTL], , [ +AC_SEARCH_LIBS([pthread_create], [pthread], , [ HAVE_PTHREADS=no ]) if [[ "x$HAVE_PTHREADS" = "xyes" ]]; then