From b4f6a8089e929d8914de3303952a50c252243db5 Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 16 Apr 2004 18:51:30 +0000 Subject: [PATCH] Default to threads enabled. They can still be disabled by passing --with-threads=no to the configure script. --- configure.ac | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 4ce4a0394..a16421615 100644 --- a/configure.ac +++ b/configure.ac @@ -70,8 +70,12 @@ AM_CONDITIONAL(ENABLE_MPLAYER_AS, test "x$with_multiplayer" != "xno") dnl Thread related checks -AC_ARG_WITH(threads, [ --with-threads Include tile loading threads [default=no]]) -if test "x$with_threads" = "xyes"; then +# defaults to yes +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]) CXXFLAGS="$CXXFLAGS -D_REENTRANT" CFLAGS="$CFLAGS -D_REENTRANT" -- 2.39.5