configure.ac: bump pthread-stubs requirement
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 2 Mar 2017 19:02:45 +0000 (19:02 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 15 Mar 2017 11:49:27 +0000 (11:49 +0000)
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@znc.in>
Cc: Jonathan Gray <jsg@jsg.id.au>
Cc: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
Cc: François Tigeot <ftigeot@wolfpond.org>
Cc: Tobias Nygren <tnn@NetBSD.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
configure.ac

index 2adf399c9b0e9ddfbffefca7df590314e99974c1..8c9d756f294efe8e2427e3662aff5f84567db4de 100644 (file)
@@ -812,7 +812,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