Add npth to the search path.

This commit is contained in:
bvarner 2017-06-28 15:00:45 -04:00
parent a1bea9b897
commit 7ae960e4eb

View File

@ -292,7 +292,7 @@ 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 c_r PTL], , [ AC_SEARCH_LIBS([pthread_create], [pthread npth c_r PTL], , [
HAVE_PTHREADS=no HAVE_PTHREADS=no
]) ])
if [[ "x$HAVE_PTHREADS" = "xyes" ]]; then if [[ "x$HAVE_PTHREADS" = "xyes" ]]; then