lutin patch to make pthread strictable
SVN revision: 34462
This commit is contained in:
parent
9e6e6a86e2
commit
866666fe33
|
@ -1157,11 +1157,19 @@ AC_ARG_ENABLE(pthreads,
|
|||
AC_HELP_STRING([--enable-pthreads], [enable threaded rendering]),
|
||||
[
|
||||
if test "x$enableval" = "xyes" ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(BUILD_PTHREAD, 1, [Build Threaded Rendering])
|
||||
build_pthreads="yes"
|
||||
pthread_cflags=""
|
||||
pthread_libs="-lpthread"
|
||||
if test "x$build_pthreads" = "xyes"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(BUILD_PTHREAD, 1, [Build Threaded Rendering])
|
||||
build_pthreads="yes"
|
||||
pthread_cflags=""
|
||||
pthread_libs="-lpthread"
|
||||
else
|
||||
if "x$use_strict" = "xyes"; then
|
||||
AC_MSG_ERROR(pthreads headers or functions not found (strict dependencies checking))
|
||||
else
|
||||
AC_MSG_RESULT(no: pthread headers or functions not found)
|
||||
fi
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
build_pthreads="no"
|
||||
|
|
Loading…
Reference in New Issue