public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] realtime/m4: Re-add define for robust mutexattr APIs
@ 2020-11-19  9:52 Joerg Vehlow
  2020-11-19 11:38 ` Cyril Hrubis
  0 siblings, 1 reply; 4+ messages in thread
From: Joerg Vehlow @ 2020-11-19  9:52 UTC (permalink / raw)
  To: ltp

From: Mathias Fiedler <mathias.fiedler@aox-tech.de>

This define is required by sbrk_mutex.c and testpi-6.c.
This define was dropped in
commit 3f6e7fe1e7d6afffb1db593e0dc14ca88a01cf66:
realtime: Fix pthread_mutexattr_{g,s}etrobust_np detection

Signed-off-by: Mathias Fiedler <mathias.fiedler@aox-tech.de>
Fixes: 3f6e7fe1e
---
 testcases/realtime/m4/check.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/realtime/m4/check.m4 b/testcases/realtime/m4/check.m4
index 5aa53bd42..e4d4fac75 100644
--- a/testcases/realtime/m4/check.m4
+++ b/testcases/realtime/m4/check.m4
@@ -17,6 +17,7 @@ AC_DEFUN([REALTIME_CHECK_ROBUST_APIS],[
 	AC_CHECK_DECLS([pthread_mutexattr_getrobust, pthread_mutexattr_setrobust],[],[has_robust="no"],[[#include <pthread.h>]])
 	AC_MSG_CHECKING([for pthread_mutexattr_*robust* APIs])
 if test "x$has_robust" != "xno"; then
+	AC_DEFINE(HAS_PTHREAD_MUTEXTATTR_ROBUST_APIS,1,[Define to 1 if you have pthread_mutexattr_*robust* APIs])
 	AC_MSG_RESULT(yes)
 else
 	AC_MSG_RESULT(no)
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-03 12:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-19  9:52 [LTP] [PATCH] realtime/m4: Re-add define for robust mutexattr APIs Joerg Vehlow
2020-11-19 11:38 ` Cyril Hrubis
2020-11-26  8:30   ` Joerg Vehlow
2020-12-03 12:47     ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox