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.16 by gbeauche, 2004-01-06T13:24:56Z vs.
Revision 1.29 by gbeauche, 2004-06-26T15:26:17Z

# Line 13 | Line 13 | dnl Options.
13   AC_ARG_ENABLE(jit,          [  --enable-jit            enable JIT compiler [default=yes]], [WANT_JIT=$enableval], [WANT_JIT=yes])
14   AC_ARG_ENABLE(ppc-emulator, [  --enable-ppc-emulator   use the selected PowerPC emulator [default=auto]], [WANT_EMULATED_PPC=$enableval], [WANT_EMULATED_PPC=auto])
15   AC_ARG_ENABLE(xf86-dga,     [  --enable-xf86-dga       use the XFree86 DGA extension [default=yes]], [WANT_XF86_DGA=$enableval], [WANT_XF86_DGA=yes])
16 < AC_ARG_ENABLE(xf86-vidmode, [  --enable-xf86-vidmode   use the XFree86 VidMode extension [default=yes]], [WANT_XF86_VIDMODE=$enableval], [WANT_XF86_VIDMODE=yes])
16 > AC_ARG_ENABLE(xf86-vidmode, [  --enable-xf86-vidmode   use the XFree86 VidMode extension [default=no]], [WANT_XF86_VIDMODE=$enableval], [WANT_XF86_VIDMODE=no])
17   AC_ARG_ENABLE(vosf,         [  --enable-vosf           enable video on SEGV signals [default=yes]], [WANT_VOSF=$enableval], [WANT_VOSF=yes])
18   AC_ARG_WITH(esd,            [  --with-esd              support ESD for sound under Linux/FreeBSD [default=yes]], [WANT_ESD=$withval], [WANT_ESD=yes])
19   AC_ARG_WITH(gtk,            [  --with-gtk              use GTK user interface [default=yes]], [WANT_GTK=$withval], [WANT_GTK=yes])
20   AC_ARG_WITH(mon,            [  --with-mon              use mon as debugger [default=yes]], [WANT_MON=$withval], [WANT_MON=yes])
21 + AC_ARG_WITH(dgcc,           [  --with-dgcc=COMPILER    use C++ COMPILER to compile synthetic opcodes], [DYNGEN_CC=$withval])
22 +
23 + dnl SDL options.
24 + AC_ARG_ENABLE(sdl-static,   [  --enable-sdl-static     use SDL static libraries for linking [default=no]], [WANT_SDL_STATIC=$enableval], [WANT_SDL_STATIC=no])
25 + AC_ARG_ENABLE(sdl-video,    [  --enable-sdl-video      use SDL for video graphics [default=no]], [WANT_SDL_VIDEO=$enableval], [WANT_SDL_VIDEO=no])
26  
27   dnl Checks for programs.
28   AC_PROG_CC
# Line 34 | Line 39 | AC_EGREP_CPP(yes,
39   #ifdef __powerpc__
40    yes
41   #endif
42 + #ifdef __ppc__
43 +  yes
44 + #endif
45   ], [AC_MSG_RESULT(yes); HAVE_PPC=yes], AC_MSG_RESULT(no))
46  
47   dnl We use native CPU if possible.
# Line 82 | Line 90 | fi
90   dnl Checks for libraries.
91   AC_CHECK_LIB(posix4, sem_init)
92  
93 < dnl We need X11.
94 < AC_PATH_XTRA
95 < if [[ "x$no_x" = "xyes" ]]; then
96 <  AC_MSG_ERROR([You need X11 to run SheepShaver.])
97 < fi
98 < CFLAGS="$CFLAGS $X_CFLAGS"
99 < CXXFLAGS="$CXXFLAGS $X_CFLAGS"
100 < LIBS="$LIBS $X_PRE_LIBS $X_LIBS -lX11 -lXext $X_EXTRA_LIBS"
93 > dnl Do we need SDL?
94 > WANT_SDL=no
95 > SDL_SUPPORT="none"
96 > if [[ "x$WANT_SDL_VIDEO" = "xyes" ]]; then
97 >  WANT_SDL=yes
98 >  WANT_XF86_DGA=no
99 >  WANT_XF86_VIDMODE=no
100 >  WANT_FBDEV_DGA=no
101 >  SDL_SUPPORT="video"
102 > fi
103 > if [[ "x$WANT_SDL" = "xyes" ]]; then
104 >  AC_PATH_PROG(sdl_config, "sdl-config")
105 >  if [[ -n "$sdl_config" ]]; then
106 >    sdl_cflags=`$sdl_config --cflags`
107 >    if [[ "x$WANT_SDL_STATIC" = "xyes" ]]; then
108 >      sdl_libs=`$sdl_config --static-libs`
109 >    else
110 >      sdl_libs=`$sdl_config --libs`
111 >    fi
112 >    CFLAGS="$CFLAGS $sdl_cflags"
113 >    CXXFLAGS="$CXXFLAGS $sdl_cflags"
114 >    LIBS="$LIBS $sdl_libs"
115 >  else
116 >    WANT_SDL=no
117 >  fi
118 > fi
119 >
120 > dnl We need X11, if not using SDL.
121 > if [[ "x$WANT_SDL" = "xno" ]]; then
122 >  AC_PATH_XTRA
123 >  if [[ "x$no_x" = "xyes" ]]; then
124 >    AC_MSG_ERROR([You need X11 to run SheepShaver.])
125 >  fi
126 >  CFLAGS="$CFLAGS $X_CFLAGS"
127 >  CXXFLAGS="$CXXFLAGS $X_CFLAGS"
128 >  LIBS="$LIBS $X_PRE_LIBS $X_LIBS -lX11 -lXext $X_EXTRA_LIBS"
129 > fi
130  
131   dnl We need pthreads on non-PowerPC systems. Try libpthread first, then libc_r (FreeBSD), then PTL.
132   HAVE_PTHREADS=yes
133 < if [[ "x$EMULATED_PPC" = "xyes" ]]; then
133 > case $EMULATED_PPC:$target_os in
134 > no:linux*)
135 >  dnl We do have our own pthread_cancel() implementation
136 >  AC_DEFINE(HAVE_PTHREAD_CANCEL, 1, [Define if you have the pthread_cancel function.])
137 >  ;;
138 > *:*)
139    AC_CHECK_LIB(pthread, pthread_create, , [
140      AC_CHECK_LIB(c_r, pthread_create, , [
141        AC_CHECK_LIB(PTL, pthread_create, , [
# Line 108 | Line 150 | if [[ "x$EMULATED_PPC" = "xyes" ]]; then
150    if [[ "x$HAVE_PTHREADS" = "xyes" ]]; then
151      AC_DEFINE(HAVE_PTHREADS, 1, [Define if pthreads are available.])
152    fi
153 < else
154 <  dnl We do have our own pthread_cancel() implementation
155 <  AC_DEFINE(HAVE_PTHREAD_CANCEL, 1, [Define if you have the pthread_cancel function.])
114 < fi
115 <
116 < dnl If POSIX.4 semaphores are not available, we emulate them with pthread mutexes.
117 < SEMSRC=
118 < AC_CHECK_FUNCS(sem_init, , [
153 >  dnl If POSIX.4 semaphores are not available, we emulate them with pthread mutexes.
154 >  SEMSRC=
155 >  AC_CHECK_FUNCS(sem_init, , [
156    if test "x$HAVE_PTHREADS" = "xyes"; then
157      SEMSRC=posix_sem.cpp
158    fi
159 < ])
159 >  ])
160 >  ;;
161 > esac
162  
163   dnl We use XFree86 DGA if possible.
164   if [[ "x$WANT_XF86_DGA" = "xyes" ]]; then
# Line 144 | Line 183 | if [[ "x$WANT_XF86_VIDMODE" = "xyes" ]];
183   fi
184  
185   dnl We use GTK+ if possible.
186 < UISRCS=
186 > UISRCS=../dummy/prefs_editor_dummy.cpp
187   if [[ "x$WANT_GTK" = "xyes" ]]; then
188    AM_PATH_GTK(1.2.0, [
189      AC_DEFINE(ENABLE_GTK)
# Line 177 | Line 216 | AC_HEADER_SYS_WAIT
216   AC_CHECK_HEADERS(mach/vm_map.h mach/mach_init.h sys/mman.h)
217   AC_CHECK_HEADERS(sys/time.h sys/times.h)
218   AC_CHECK_HEADERS(unistd.h fcntl.h byteswap.h)
219 + AC_CHECK_HEADERS(linux/if.h linux/if_tun.h net/if.h net/if_tun.h)
220  
221   dnl Checks for typedefs, structures, and compiler characteristics.
222   AC_C_BIGENDIAN
# Line 196 | Line 236 | AC_TYPE_SIGNAL
236   AC_HEADER_TIME
237   AC_STRUCT_TM
238  
239 + dnl Check whether struct sigaction has sa_restorer member.
240 + AC_CACHE_CHECK([whether struct sigaction has sa_restorer],
241 +  ac_cv_signal_sa_restorer, [
242 +  AC_TRY_COMPILE([
243 +    #include <signal.h>
244 +  ], [struct sigaction sa; sa.sa_restorer = 0;],
245 +  ac_cv_signal_sa_restorer=yes, ac_cv_signal_sa_restorer=no,
246 +  dnl When cross-compiling, do not assume anything.
247 +  ac_cv_signal_sa_restorer=no
248 +  )
249 + ])
250 + if [[ "x$ac_cv_signal_sa_restorer" = "xyes" ]]; then
251 +  AC_DEFINE(HAVE_SIGNAL_SA_RESTORER)
252 + fi
253 +
254   dnl Checks for library functions.
255 < AC_CHECK_FUNCS(strdup cfmakeraw)
255 > AC_CHECK_FUNCS(strdup strlcpy cfmakeraw)
256   AC_CHECK_FUNCS(nanosleep)
257   AC_CHECK_FUNCS(sigaction signal)
258   AC_CHECK_FUNCS(mmap mprotect munmap)
259   AC_CHECK_FUNCS(vm_allocate vm_deallocate vm_protect)
260 + AC_CHECK_FUNCS(posix_memalign memalign valloc)
261 +
262 + dnl Darwin seems to define mach_task_self() instead of task_self().
263 + AC_CHECK_FUNCS(mach_task_self task_self)
264 +
265   dnl We need clock_gettime() for better performance but it may drag
266   dnl libpthread in, which we don't want for native ppc mode
267 < if [[ "x$EMULATED_PPC" = "xyes" ]]; then
267 > case $EMULATED_PPC:$target_os in
268 > no:linux*)
269 >  ;;
270 > *:*)
271    AC_SEARCH_LIBS(clock_gettime, [rt posix4])
272    AC_CHECK_FUNCS(clock_gettime)
273 < fi
273 >  ;;
274 > esac
275  
276   dnl Select system-dependant sources.
277 < if [[ "x$EMULATED_PPC" = "xno" ]]; then
278 <  SYSSRCS="Linux/paranoia.cpp Linux/sheepthreads.c Linux/asm_linux.S"
277 > SERIALSRC=serial_unix.cpp
278 > ETHERSRC=../dummy/ether_dummy.cpp
279 > SCSISRC=../dummy/scsi_dummy.cpp
280 > AUDIOSRC=../dummy/audio_dummy.cpp
281 > EXTRASYSSRCS=
282 > case "$target_os" in
283 > linux*)
284 >  ETHERSRC=Linux/ether_linux.cpp
285 >  AUDIOSRC=audio_oss_esd.cpp
286 >  SCSISRC=Linux/scsi_linux.cpp
287 >  if [[ "x$EMULATED_PPC" = "xno" ]]; then
288 >    EXTRASYSSRCS="Linux/paranoia.cpp Linux/sheepthreads.c Linux/asm_linux.S"
289 >  fi
290 >  ;;
291 > darwin*)
292 >  if [[ "x$EMULATED_PPC" = "xno" ]]; then
293 >    EXTRASYSSRCS="Darwin/paranoia.cpp Linux/asm_linux.S"
294 >  fi
295 >  ;;
296 > esac
297 >
298 > dnl SDL overrides
299 > if [[ "x$WANT_SDL" = "xyes" ]]; then
300 >  AC_DEFINE(USE_SDL, 1, [Define to enble SDL support])
301 > fi
302 > if [[ "x$WANT_SDL_VIDEO" = "xyes" ]]; then
303 >  VIDEOSRCS="../SDL/video_sdl.cpp ../dummy/clip_dummy.cpp"
304 >  AC_DEFINE(USE_SDL_VIDEO, 1, [Define to enable SDL video graphics support])
305 > else
306 >  VIDEOSRCS="video_x.cpp clip_unix.cpp"
307   fi
308 < SYSSRCS="$SYSSRCS $SEMSRCS $UISRCS $MONSRCS"
308 >
309 > SYSSRCS="$VIDEOSRCS $SERIALSRC $ETHERSRC $SCSISRC $AUDIOSRC $SEMSRC $UISRCS $MONSRCS $EXTRASYSSRCS"
310  
311   dnl Define a macro that translates a yesno-variable into a C macro definition
312   dnl to be put into the config.h file
# Line 226 | Line 319 | AC_DEFUN(AC_TRANSLATE_DEFINE, [
319      fi
320   ])
321  
322 + dnl Check that the host supports TUN/TAP devices
323 + AC_CACHE_CHECK([whether TUN/TAP is supported],
324 +  ac_cv_tun_tap_support, [
325 +  AC_TRY_COMPILE([
326 +    #if defined(HAVE_LINUX_IF_H) && defined(HAVE_LINUX_IF_TUN_H)
327 +    #include <linux/if.h>
328 +    #include <linux/if_tun.h>
329 +    #endif
330 +    #if defined(HAVE_NET_IF_H) && defined(HAVE_NET_IF_TUN_H)
331 +    #include <net/if.h>
332 +    #include <net/if_tun.h>
333 +    #endif
334 +  ], [
335 +    struct ifreq ifr;
336 +    memset(&ifr, 0, sizeof(ifr));
337 +    ifr.ifr_flags = IFF_TAP | IFF_NO_PI;
338 +  ],
339 +  ac_cv_tun_tap_support=yes, ac_cv_tun_tap_support=no
340 +  )
341 + ])
342 + AC_TRANSLATE_DEFINE(ENABLE_TUNTAP, "$ac_cv_tun_tap_support",
343 +  [Define if your system supports TUN/TAP devices.])
344 +
345   dnl Various checks if the system supports vm_allocate() and the like functions.
346   have_mach_vm=no
347   if [[ "x$ac_cv_func_vm_allocate" = "xyes" -a "x$ac_cv_func_vm_deallocate" = "xyes" -a \
# Line 372 | Line 488 | AC_TRANSLATE_DEFINE(HAVE_MMAP_VM, $have_
488  
489   fi dnl HAVE_MMAP_VM
490  
491 < dnl Check if we can mmap 0x2000 bytes from 0x0000
492 < AC_CACHE_CHECK([whether we can map Low Memory area 0x0000-0x2000],
491 > dnl Check if we can modify the __PAGEZERO segment for use as Low Memory
492 > AC_CACHE_CHECK([whether __PAGEZERO can be Low Memory area 0x0000-0x3000],
493 >  ac_cv_pagezero_hack, [
494 >  ac_cv_pagezero_hack=no
495 >  if AC_TRY_COMMAND([Darwin/testlmem.sh 0x3000]); then
496 >    ac_cv_pagezero_hack=yes
497 >    dnl might as well skip the test for mmap-able low memory
498 >    ac_cv_can_map_lm=no
499 >  fi
500 > ])
501 > AC_TRANSLATE_DEFINE(PAGEZERO_HACK, "$ac_cv_pagezero_hack",
502 >  [Define if the __PAGEZERO Mach-O Low Memory Globals hack works on this system.])
503 >
504 > dnl Check if we can mmap 0x3000 bytes from 0x0000
505 > AC_CACHE_CHECK([whether we can map Low Memory area 0x0000-0x3000],
506    ac_cv_can_map_lm, [
507    AC_LANG_SAVE
508    AC_LANG_CPLUSPLUS
# Line 456 | Line 585 | AC_CACHE_CHECK([whether sigaction handle
585   AC_TRANSLATE_DEFINE(SIGACTION_NEED_REINSTALL, "$ac_cv_sigaction_need_reinstall",
586    [Define if your system requires sigactions to be reinstalled.])
587  
588 < dnl Check if extended signals are supported.
589 < AC_CACHE_CHECK([whether your system supports extended signal handlers],
590 <  ac_cv_have_extended_signals, [
588 > dnl Check if Mach exceptions supported.
589 > AC_CACHE_CHECK([whether your system supports Mach exceptions],
590 >  ac_cv_have_mach_exceptions, [
591    AC_LANG_SAVE
592    AC_LANG_CPLUSPLUS
593    AC_TRY_RUN([
594 <    #define HAVE_SIGINFO_T 1
594 >    #define HAVE_MACH_EXCEPTIONS 1
595      #define CONFIGURE_TEST_SIGSEGV_RECOVERY
596      #include "vm_alloc.cpp"
597      #include "sigsegv.cpp"
598 <  ], ac_cv_have_extended_signals=yes, ac_cv_have_extended_signals=no,
598 >  ],
599 >  ac_cv_have_mach_exceptions=yes,
600 >  ac_cv_have_mach_exceptions=no,
601    dnl When cross-compiling, do not assume anything.
602 <  ac_cv_have_extended_signals=no
602 >  ac_cv_have_mach_exceptions=no
603    )
604    AC_LANG_RESTORE
605    ]
606   )
607 < AC_TRANSLATE_DEFINE(HAVE_SIGINFO_T, "$ac_cv_have_extended_signals",
608 <  [Define if your system support extended signals.])
607 > if [[ "$ac_cv_have_mach_exceptions" = "yes" ]]; then
608 >  sigsegv_recovery=mach
609 > fi
610 > AC_TRANSLATE_DEFINE(HAVE_MACH_EXCEPTIONS, "$ac_cv_have_mach_exceptions",
611 >  [Define if your system supports Mach exceptions.])
612 >
613 > dnl Otherwise, check if extended signals are supported.
614 > if [[ -z "$sigsegv_recovery" ]]; then
615 >  AC_CACHE_CHECK([whether your system supports extended signal handlers],
616 >    ac_cv_have_extended_signals, [
617 >    AC_LANG_SAVE
618 >    AC_LANG_CPLUSPLUS
619 >    AC_TRY_RUN([
620 >      #define HAVE_SIGINFO_T 1
621 >      #define CONFIGURE_TEST_SIGSEGV_RECOVERY
622 >      #include "vm_alloc.cpp"
623 >      #include "sigsegv.cpp"
624 >    ],
625 >    ac_cv_have_extended_signals=yes,
626 >    ac_cv_have_extended_signals=no,
627 >    dnl When cross-compiling, do not assume anything.
628 >    ac_cv_have_extended_signals=no
629 >    )
630 >    AC_LANG_RESTORE
631 >    ]
632 >  )
633 >  if [[ "$ac_cv_have_extended_signals" = "yes" ]]; then
634 >    sigsegv_recovery=siginfo
635 >  fi
636 >  AC_TRANSLATE_DEFINE(HAVE_SIGINFO_T, "$ac_cv_have_extended_signals",
637 >    [Define if your system support extended signals.])
638 > fi
639  
640   dnl Otherwise, check for subterfuges.
641 < if [[ "x$ac_cv_have_extended_signals" = "xno" ]]; then
641 > if [[ -z "$sigsegv_recovery" ]]; then
642    AC_CACHE_CHECK([whether we then have a subterfuge for your system],
643    ac_cv_have_sigcontext_hack, [
644      AC_LANG_SAVE
# Line 487 | Line 648 | if [[ "x$ac_cv_have_extended_signals" =
648        #define CONFIGURE_TEST_SIGSEGV_RECOVERY
649        #include "vm_alloc.cpp"
650        #include "sigsegv.cpp"
651 <    ], ac_cv_have_sigcontext_hack=yes, ac_cv_have_sigcontext_hack=no,
651 >    ],
652 >    ac_cv_have_sigcontext_hack=yes,
653 >    ac_cv_have_sigcontext_hack=no,
654      dnl When cross-compiling, do not assume anything.
655      ac_cv_have_sigcontext_hack=no
656      )
657      AC_LANG_RESTORE
658    ])
659 +  if [[ "$ac_cv_have_sigcontext_hack" = "yes" ]]; then
660 +    sigsegv_recovery=sigcontext
661 +  fi
662    AC_TRANSLATE_DEFINE(HAVE_SIGCONTEXT_SUBTERFUGE, "$ac_cv_have_sigcontext_hack",
663      [Define if we know a hack to replace siginfo_t->si_addr member.])
664   fi
# Line 519 | Line 685 | AC_TRANSLATE_DEFINE(HAVE_SIGSEGV_SKIP_IN
685  
686   dnl Can we do Video on SEGV Signals ?
687   CAN_VOSF=no
688 < if [[ "$ac_cv_have_extended_signals" = "yes" -o "$ac_cv_have_sigcontext_hack" = "yes" ]]; then
688 > if [[ -n "$sigsegv_recovery" ]]; then
689    CAN_VOSF=yes
690   fi
691  
# Line 530 | Line 696 | else
696      WANT_VOSF=no
697   fi
698  
699 + dnl Platform specific binary postprocessor
700 + AC_PATH_PROG(BLESS, "true")
701 + if [[ "x$ac_cv_pagezero_hack" = "xyes" ]]; then
702 +  BLESS=Darwin/lowmem
703 +  LDFLAGS="$LDFLAGS -pagezero_size 0x3000"
704 + fi
705 +
706   dnl Check for GCC 2.7 or higher.
707   HAVE_GCC27=no
708   AC_MSG_CHECKING(for GCC 2.7 or higher)
# Line 548 | Line 721 | AC_EGREP_CPP(xyes,
721   #endif
722   ], [AC_MSG_RESULT(yes); HAVE_GCC30=yes], AC_MSG_RESULT(no))
723  
724 + dnl Check for ICC.
725 + AC_MSG_CHECKING(for ICC)
726 + HAVE_ICC=no
727 + if $CXX -V -v 2>&1 | grep -q "Intel(R) C++ Compiler"; then
728 +  HAVE_ICC=yes
729 + fi
730 + AC_MSG_RESULT($HAVE_ICC)
731 +
732   # Test if the compiler can generate ELF objects
733   AC_CACHE_CHECK([whether the compiler can generate ELF objects],
734    ac_cv_elf_objects, [
# Line 591 | Line 772 | if [[ "x$EMULATED_PPC" = "xyes" ]]; then
772          ac_cv_use_dyngen=no
773          ;;
774        esac
775 +      dnl Check for a suitable synthetic opcodes compiler (icc is faking itself as gcc 3.2.2)
776 +      if [[ -z "$DYNGEN_CC" ]]; then
777 +        if [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_ICC" = "xno" ]]; then
778 +          DYNGEN_CC=$CXX
779 +        else
780 +          for p in /usr/bin /usr/local/bin; do
781 +            gxx="$p/g++"
782 +            if [[ -x "$gxx" ]]; then
783 +              DYNGEN_CC="$gxx"
784 +            fi
785 +          done
786 +        fi
787 +      fi
788 +      if [[ -z "$DYNGEN_CC" ]] || ! { echo '#include <limits>' | $DYNGEN_CC -xc++ -c -o /dev/null - >& /dev/null; }; then
789 +        ac_cv_use_dyngen=no
790 +      fi
791      ])
792      if [[ "x$ac_cv_use_dyngen" = "xyes" ]]; then
793        case $host_cpu in
# Line 601 | Line 798 | if [[ "x$EMULATED_PPC" = "xyes" ]]; then
798          else
799            DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -malign-functions=0"
800          fi
801 +        saved_CPPFLAGS=$CPPFLAGS
802 +        CPPFLAGS="$CPPFLAGS -mmmx"
803 +        AC_CHECK_HEADERS(mmintrin.h,  [DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -mmmx"])
804 +        CPPFLAGS="$CPPFLAGS -msse"
805 +        AC_CHECK_HEADERS(xmmintrin.h, [DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -msse"])
806 +        CPPFLAGS="$CPPFLAGS -msse2"
807 +        AC_CHECK_HEADERS(emmintrin.h, [DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -msse2"])
808 +        CPPFLAGS=$saved_CPPFLAGS
809 +        ;;
810 +      x86_64)
811 +        AC_CHECK_HEADERS(mmintrin.h xmmintrin.h emmintrin.h)
812          ;;
813        esac
814        DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -finline-limit=10000"
# Line 655 | Line 863 | fi
863  
864   dnl Generate Makefile.
865   AC_SUBST(DYNGENSRCS)
866 + AC_SUBST(DYNGEN_CC)
867   AC_SUBST(DYNGEN_OP_FLAGS)
868   AC_SUBST(SYSSRCS)
869   AC_SUBST(CPUSRCS)
870 + AC_SUBST(BLESS)
871   AC_OUTPUT(Makefile)
872  
873   dnl Print summary.
874   echo
875   echo SheepShaver configuration summary:
876   echo
877 + echo SDL support ...................... : $SDL_SUPPORT
878   echo XFree86 DGA support .............. : $WANT_XF86_DGA
879   echo XFree86 VidMode support .......... : $WANT_XF86_VIDMODE
880   echo Using PowerPC emulator ........... : $EMULATED_PPC
# Line 672 | Line 883 | echo Enable video on SEGV signals .....
883   echo ESD sound support ................ : $WANT_ESD
884   echo GTK user interface ............... : $WANT_GTK
885   echo mon debugger support ............. : $WANT_MON
886 + echo Bad memory access recovery type .. : $sigsegv_recovery
887   echo
888   echo "Configuration done. Now type \"make\"."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines