[Mesa-dev] [PATCH 2/2] configure.ac: bump pthread-stubs requirement

Emil Velikov emil.l.velikov at gmail.com
Thu Mar 2 19:02:45 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

On platforms that require it, we bump the requirement to 0.4 or later.
Due to an issue with the project [design] any version earlier than it,
is bound to cause issues. For the specifics see the pthread-stubs README

Cc: Uli Schlachter <psychon at znc.in>
Cc: Jonathan Gray <jsg at jsg.id.au>
Cc: Jean-Sébastien Pédron <dumbbell at FreeBSD.org>
Cc: François Tigeot <ftigeot at wolfpond.org>
Cc: Tobias Nygren <tnn at NetBSD.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
Note: there is no pthread-stubs 0.4 yet, so this patch will wait until
then. Uli, can you please cc/poke me as you roll one ?

Meanwhile: gents I would like to point your attention to the README in
the pthread-stubs git. Poke your C runtime people that they _really_
want to start working on lightweight pthread stubs ;-)
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index e94e46a0b8..54f1a636c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -808,7 +808,7 @@ linux* | cygwin* | darwin* | solaris* | gnu*)
 esac
 
 if test "x$pthread_stubs_possible" = xyes; then
-    PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs)
+    PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs >= 0.4)
     AC_SUBST(PTHREADSTUBS_CFLAGS)
     AC_SUBST(PTHREADSTUBS_LIBS)
 fi
-- 
2.11.1



More information about the mesa-dev mailing list