1
0
Fork 0

Default to threads enabled. They can still be disabled by passing

--with-threads=no to the configure script.
This commit is contained in:
curt 2004-04-16 18:51:30 +00:00
parent 3db9dc5a23
commit b4f6a8089e

View file

@ -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"