added check for pthread_setname_np in configure
authorVictor Kirhenshtein <victor@netxms.org>
Tue, 26 Sep 2017 10:00:46 +0000 (13:00 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Tue, 26 Sep 2017 10:00:46 +0000 (13:00 +0300)
configure.ac

index 3450737..a9f2596 100644 (file)
@@ -1607,7 +1607,7 @@ else
        AC_CHECK_HEADERS([pthread_np.h],,,[
 #include <pthread.h>
        ])
-       AC_CHECK_FUNCS([pthread_cond_reltimedwait_np])
+       AC_CHECK_FUNCS([pthread_cond_reltimedwait_np pthread_setname_np])
 
        # Check for recursive mutexes
        AC_CHECK_FUNCS([pthread_mutexattr_settype __pthread_mutexattr_settype pthread_mutexattr_setkind_np])