diff --git a/configure.ac b/configure.ac index 4edea19d..8dbfa8d4 100644 --- a/configure.ac +++ b/configure.ac @@ -227,6 +227,9 @@ CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" CPPFLAGS="${CPPFLAGS} ${PTHREAD_CPPFLAGS}" LIBS="${LIBS} ${PTHREAD_LIBS}" +dnl Check functions requiring -pthread: +AC_CHECK_FUNCS([pthread_setname_np]) + dnl Feature enable/disable arguments AC_ARG_ENABLE([yp],