Mesa (master): configure.ac: pthread-stubs not present on OpenBSD

Eric Engeström eric_engestrom at kemper.freedesktop.org
Tue Feb 20 15:09:57 UTC 2018


Module: Mesa
Branch: master
Commit: 9401d90a537f0db62e726eeffe468a64189550f1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9401d90a537f0db62e726eeffe468a64189550f1

Author: Jonathan Gray <jsg at jsg.id.au>
Date:   Tue Feb 20 17:38:00 2018 +1100

configure.ac: pthread-stubs not present on OpenBSD

pthread-stubs is no longer required on OpenBSD and has been removed.
libpthread parts involved moved to libc.

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Cc: 17.3 18.0 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

---

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index d37cb67a46..8a9172690a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -939,10 +939,10 @@ dnl In practise that should be sufficient for all platforms, since any
 dnl platforms build with GCC and Clang support the flag.
 PTHREAD_LIBS="$PTHREAD_LIBS -pthread"
 
-dnl pthread-stubs is mandatory on BSD platforms, due to the nature of the
+dnl pthread-stubs is mandatory on some BSD platforms, due to the nature of the
 dnl project. Even then there's a notable issue as described in the project README
 case "$host_os" in
-linux* | cygwin* | darwin* | solaris* | *-gnu* | gnu*)
+linux* | cygwin* | darwin* | solaris* | *-gnu* | gnu* | openbsd*)
     pthread_stubs_possible="no"
     ;;
 * )




More information about the mesa-commit mailing list