From: curt Date: Fri, 16 Apr 2004 18:51:30 +0000 (+0000) Subject: Default to threads enabled. They can still be disabled by passing X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b4f6a8089e929d8914de3303952a50c252243db5;p=flightgear.git Default to threads enabled. They can still be disabled by passing --with-threads=no to the configure script. --- 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"