forked from enlightenment/efl
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]),
|
AC_HELP_STRING([--enable-pthreads], [enable threaded rendering]),
|
||||||
[
|
[
|
||||||
if test "x$enableval" = "xyes" ; then
|
if test "x$enableval" = "xyes" ; then
|
||||||
AC_MSG_RESULT(yes)
|
if test "x$build_pthreads" = "xyes"; then
|
||||||
AC_DEFINE(BUILD_PTHREAD, 1, [Build Threaded Rendering])
|
AC_MSG_RESULT(yes)
|
||||||
build_pthreads="yes"
|
AC_DEFINE(BUILD_PTHREAD, 1, [Build Threaded Rendering])
|
||||||
pthread_cflags=""
|
build_pthreads="yes"
|
||||||
pthread_libs="-lpthread"
|
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
|
else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
build_pthreads="no"
|
build_pthreads="no"
|
||||||
|
|
Loading…
Reference in New Issue