From 7053afb8d479c1e87c00377c15f38cf09a69803e Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Sun, 20 Mar 2022 16:13:28 +0000 Subject: [PATCH] Update: Check for pthread_setname_np() --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) 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],