Mesa (master): configure: require pthreads for POSIX builds
Emil Velikov
evelikov at kemper.freedesktop.org
Wed Mar 11 23:25:28 UTC 2015
Module: Mesa
Branch: master
Commit: 39f90e6b9bb0c9c8b40abae2afde07587cd49010
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=39f90e6b9bb0c9c8b40abae2afde07587cd49010
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Fri Mar 6 16:54:57 2015 +0000
configure: require pthreads for POSIX builds
This has been an implicit rule for building mesa for a long time. Let's
make it official and just bail out at configure time. This way we can
cleaning up some of our glx code.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
---
configure.ac | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index 2954f80..a3b0ebd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -658,6 +658,9 @@ mingw*)
;;
*)
AX_PTHREAD
+ if test "x$ax_pthread_ok" = xno; then
+ AC_MSG_ERROR([Building mesa on this platform requires pthreads])
+ fi
;;
esac
dnl AX_PTHREADS leaves PTHREAD_LIBS empty for gcc and sets PTHREAD_CFLAGS
More information about the mesa-commit
mailing list