Default to threads enabled. They can still be disabled by passing
--with-threads=no to the configure script.
This commit is contained in:
parent
3db9dc5a23
commit
b4f6a8089e
1 changed files with 6 additions and 2 deletions
|
@ -70,8 +70,12 @@ AM_CONDITIONAL(ENABLE_MPLAYER_AS, test "x$with_multiplayer" != "xno")
|
||||||
|
|
||||||
|
|
||||||
dnl Thread related checks
|
dnl Thread related checks
|
||||||
AC_ARG_WITH(threads, [ --with-threads Include tile loading threads [default=no]])
|
# defaults to yes
|
||||||
if test "x$with_threads" = "xyes"; then
|
with_threads=yes
|
||||||
|
AC_ARG_WITH(threads, [ --with-threads Include tile loading threads [default=yes]])
|
||||||
|
if test "x$with_threads" = "xno"; then
|
||||||
|
AC_DEFINE([ENABLE_THREADS], 0, [Define to enable threaded tile paging])
|
||||||
|
else
|
||||||
AC_DEFINE([ENABLE_THREADS], 1, [Define to enable threaded tile paging])
|
AC_DEFINE([ENABLE_THREADS], 1, [Define to enable threaded tile paging])
|
||||||
CXXFLAGS="$CXXFLAGS -D_REENTRANT"
|
CXXFLAGS="$CXXFLAGS -D_REENTRANT"
|
||||||
CFLAGS="$CFLAGS -D_REENTRANT"
|
CFLAGS="$CFLAGS -D_REENTRANT"
|
||||||
|
|
Loading…
Add table
Reference in a new issue