ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Unix/configure.in
(Generate patch)

Comparing SheepShaver/src/Unix/configure.in (file contents):
Revision 1.11 by gbeauche, 2003-11-27T11:09:38Z vs.
Revision 1.15 by gbeauche, 2004-01-04T18:38:00Z

# Line 48 | Line 48 | fi
48  
49   dnl We use mon if possible.
50   MONSRCS=
51 + case "x$WANT_MON" in
52 + x/* | x.*)
53 +  mon_srcdir=$WANT_MON
54 +  WANT_MON=yes
55 +  ;;
56 + xyes)
57 +  mon_srcdir=../../../mon/src
58 +  ;;
59 + esac
60   if [[ "x$WANT_MON" = "xyes" ]]; then
61    AC_MSG_CHECKING(for mon)
53  mon_srcdir=../../../mon/src
62    if grep mon_init $mon_srcdir/mon.h >/dev/null 2>/dev/null; then
63      AC_MSG_RESULT(yes)
64      AC_DEFINE(ENABLE_MON)
# Line 97 | Line 105 | if [[ "x$EMULATED_PPC" = "xyes" ]]; then
105    if [[ "x$HAVE_PTHREADS" = "xyes" ]]; then
106      AC_DEFINE(HAVE_PTHREADS, 1, [Define if pthreads are available.])
107    fi
108 + else
109 +  dnl We do have our own pthread_cancel() implementation
110 +  AC_DEFINE(HAVE_PTHREAD_CANCEL, 1, [Define if you have the pthread_cancel function.])
111   fi
112  
113   dnl If POSIX.4 semaphores are not available, we emulate them with pthread mutexes.
# Line 583 | Line 594 | if [[ "x$EMULATED_PPC" = "xyes" ]]; then
594          fi
595          ;;
596        esac
597 <      DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -finline-limit=2000"
597 >      DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -finline-limit=10000"
598        if [[ "x$HAVE_GCC30" = "xyes" ]]; then
599          DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -fno-reorder-blocks -fno-optimize-sibling-calls"
600        fi
# Line 602 | Line 613 | if [[ "x$EMULATED_PPC" = "xyes" ]]; then
613      fi
614    fi
615    CPUSRCS="$CPUSRCS ../kpx_cpu/sheepshaver_glue.cpp"
616 + else
617 +  WANT_JIT=no
618   fi
619   if [[ "x$ac_cv_use_dyngen" = "xyes" ]]; then
620    AC_CACHE_CHECK([whether static data regions are executable],
# Line 627 | Line 640 | fi
640   AC_TRANSLATE_DEFINE(HAVE_STATIC_DATA_EXEC, "$ac_cv_have_static_data_exec",
641    [Define if your system marks static data pages as executable.])
642  
643 + if [[ "x$WANT_JIT" = "xyes" ]]; then
644 +  CPPFLAGS="$CPPFLAGS -DUSE_JIT"
645 + fi
646 +
647   dnl Generate Makefile.
648   AC_SUBST(DYNGENSRCS)
649   AC_SUBST(DYNGEN_OP_FLAGS)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines