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

Comparing BasiliskII/src/Unix/configure.in (file contents):
Revision 1.25 by cebix, 2000-10-08T18:41:34Z vs.
Revision 1.35 by gbeauche, 2001-03-20T18:05:35Z

# Line 9 | Line 9 | dnl Options.
9   AC_ARG_ENABLE(xf86-dga,      [  --enable-xf86-dga       use the XFree86 DGA extension [default=yes]], [WANT_XF86_DGA=$enableval], [WANT_XF86_DGA=yes])
10   AC_ARG_ENABLE(xf86-vidmode,  [  --enable-xf86-vidmode   use the XFree86 VidMode extension [default=yes]], [WANT_XF86_VIDMODE=$enableval], [WANT_XF86_VIDMODE=yes])
11   AC_ARG_ENABLE(fbdev-dga,     [  --enable-fbdev-dga      use direct frame buffer access via /dev/fb [default=yes]], [WANT_FBDEV_DGA=$enableval], [WANT_FBDEV_DGA=yes])
12 < AC_ARG_ENABLE(vosf,          [  --enable-vosf           enable video on SEGV signals [default=yes]], [WANT_VOSF=$enableval], [WANT_VOSF=no])
13 < AC_ARG_ENABLE(16bit-vidmode, [  --enable-16bit-vidmode  enable 16-bit video if possible [default=yes]], [WANT_16BIT_VIDMODE=$enableval], [WANT_16BIT_VIDMODE=yes])
12 > AC_ARG_ENABLE(vosf,          [  --enable-vosf           enable video on SEGV signals [default=no]], [WANT_VOSF=$enableval], [WANT_VOSF=no])
13 >
14 > dnl FPU emulation core.
15 > AC_ARG_ENABLE(fpe,
16 > [  --enable-fpe=which      specify which fpu emulator to use [default=opt]],
17 > [ case "$enableval" in
18 >    default)    FPE_CORE="default";; dnl fpu_x86.cpp if i386 architecture, fpu_uae.cpp otherwise
19 >        uae)            FPE_CORE="uae";;
20 >        *)                      AC_MSG_ERROR([--enable-fpe takes only one of the following values: default, uae]);;
21 >  esac
22 > ],
23 > [ FPE_CORE="default"
24 > ])
25 >
26 > dnl Addressing modes.
27   AC_ARG_ENABLE(addressing,
28 < [  --enable-addressing=mode specify the addressing mode to use [default=fastest]],
28 > [  --enable-addressing=AM  specify the addressing mode to use [default=fastest]],
29   [ case "$enableval" in
30      real)       ADDRESSING_TEST_ORDER="real";;
31      direct)     ADDRESSING_TEST_ORDER="direct";;
32      banks)      ADDRESSING_TEST_ORDER="banks";;
33 < dnl fastest)    ADDRESSING_TEST_ORDER="real direct banks";; gb-- will enable later...
34 <    fastest)    ADDRESSING_TEST_ORDER="direct banks";;
22 <    *)          AC_MSG_ERROR([--enable-mem-addressing takes only one of the following values: fastest, real, direct, banks]);;
33 >    fastest)ADDRESSING_TEST_ORDER="direct banks";;
34 >    *)          AC_MSG_ERROR([--enable-addressing takes only one of the following values: fastest, real, direct, banks]);;
35    esac
36   ],
25 dnl [ ADDRESSING_TEST_ORDER="real direct banks" gb-- will probably reactivate later
37   [ ADDRESSING_TEST_ORDER="direct banks"
38   ])
39 +
40 + dnl External packages.
41   AC_ARG_WITH(esd,             [  --with-esd              support ESD for sound under Linux/FreeBSD [default=yes]], [WANT_ESD=$withval], [WANT_ESD=yes])
42   AC_ARG_WITH(gtk,             [  --with-gtk              use GTK user interface [default=yes]], [WANT_GTK=$withval], [WANT_GTK=yes])
43   AC_ARG_WITH(mon,             [  --with-mon              use mon as debugger [default=yes]], [WANT_MON=$withval], [WANT_MON=yes])
# Line 39 | Line 52 | case "$target_os" in
52    netbsd*)      OS_TYPE=netbsd;;
53    freebsd*)     OS_TYPE=freebsd;;
54    solaris*)     OS_TYPE=solaris;;
55 <  *)            OS_TYPE=`echo $target_os | sed -e 's/-/_/'`;;
55 >  *)            OS_TYPE=`echo $target_os | sed -e 's/-/_/' | sed -e 's/\./_/'`;;
56   esac
57   DEFINES="$DEFINES -DOS_$OS_TYPE"
58  
# Line 47 | Line 60 | dnl Target CPU type.
60   HAVE_I386=no
61   HAVE_M68K=no
62   HAVE_SPARC=no
63 + HAVE_POWERPC=no
64   case "$target_cpu" in
65    i386* | i486* | i586* | i686* | i786* ) CPU_TYPE=i386 HAVE_I386=yes;;
66    m68k* ) CPU_TYPE=m68k HAVE_M68K=yes;;
67    sparc* ) CPU_TYPE=sparc HAVE_SPARC=yes;;
68 +  powerpc* ) CPU_TYPE=powerpc HAVE_POWERPC=yes;;
69    *) CPU_TYPE=`echo $target_cpu | sed -e 's/-/_/'`;;
70   esac
71   DEFINES="$DEFINES -DCPU_$CPU_TYPE"
# Line 71 | Line 86 | if [[ "x$WANT_MON" = "xyes" ]]; then
86    if grep mon_init $mon_srcdir/mon.h >/dev/null 2>/dev/null; then
87      AC_MSG_RESULT(yes)
88      AC_DEFINE(ENABLE_MON)
89 <    MONSRCS="$mon_srcdir/mon.cpp $mon_srcdir/mon_6502.cpp $mon_srcdir/mon_8080.cpp $mon_srcdir/mon_cmd.cpp $mon_srcdir/mon_disass.cpp $mon_srcdir/mon_ppc.cpp $mon_srcdir/disass/floatformat.c $mon_srcdir/disass/i386-dis.c $mon_srcdir/disass/m68k-dis.c $mon_srcdir/disass/m68k-opc.c"
89 >    MONSRCS="$mon_srcdir/mon.cpp $mon_srcdir/mon_6502.cpp $mon_srcdir/mon_z80.cpp $mon_srcdir/mon_cmd.cpp $mon_srcdir/mon_disass.cpp $mon_srcdir/mon_ppc.cpp $mon_srcdir/disass/floatformat.c $mon_srcdir/disass/i386-dis.c $mon_srcdir/disass/m68k-dis.c $mon_srcdir/disass/m68k-opc.c"
90      CXXFLAGS="$CXXFLAGS -I$mon_srcdir -I$mon_srcdir/disass"
91      AC_CHECK_LIB(readline, readline)
92      AC_CHECK_LIB(termcap, tputs)
# Line 112 | Line 127 | AC_CHECK_FUNCS(pthread_cancel)
127   dnl If POSIX.4 semaphores are not available, we emulate them with pthread mutexes.
128   SEMSRC=
129   AC_CHECK_FUNCS(sem_init, , [
130 <  if [ "x$HAVE_PTHREADS" = "xyes" ]; then
130 >  if test "x$HAVE_PTHREADS" = "xyes"; then
131      SEMSRC=posix_sem.cpp
132    fi
133   ])
# Line 204 | Line 219 | ETHERSRC=../dummy/ether_dummy.cpp
219   SCSISRC=../dummy/scsi_dummy.cpp
220   AUDIOSRC=../dummy/audio_dummy.cpp
221   EXTRASYSSRCS=
222 < SUPPORTS_NATIVE_M68K=no
222 > CAN_NATIVE_M68K=no
223   case "$target_os" in
224   linux*)
225    ETHERSRC=Linux/ether_linux.cpp
# Line 252 | Line 267 | freebsd*)
267    fi
268    ;;
269   netbsd*)
270 <  SUPPORTS_NATIVE_M68K=yes
270 >  CAN_NATIVE_M68K=yes
271    ;;
272   solaris*)
273    AUDIOSRC=Solaris/audio_solaris.cpp
274    DEFINES="$DEFINES -DBSD_COMP -D_POSIX_PTHREAD_SEMANTICS"
275    ;;
276   irix*)
277 +  AUDIOSRC=Irix/audio_irix.cpp
278    EXTRASYSSRCS=Irix/unaligned.c
279 <  DEFINES="$DEFINES -DCRTSCTS=CNEW_RTSCTS -DB230400=B115200"
280 <  LIBS="$LIBS -lm"
279 >  dnl IRIX headers work fine, but somehow don't define or use "STDC_HEADERS"
280 >  DEFINES="$DEFINES -DCRTSCTS=CNEW_RTSCTS -DB230400=B115200 -DSTDC_HEADERS"
281 >  LIBS="$LIBS -laudio"
282    ;;
283   esac
284  
285 + dnl Use 68k CPU natively?
286 + WANT_NATIVE_M68K=no
287 + if [[ "x$HAVE_M68K" = "xyes" -a "x$CAN_NATIVE_M68K" = "xyes" ]]; then
288 +  AC_DEFINE(ENABLE_NATIVE_M68K)
289 +  WANT_NATIVE_M68K=yes
290 + fi
291 +
292   if [[ "x$HAVE_PTHREADS" = "xno" ]]; then
293    dnl Serial, ethernet and audio support needs pthreads
294    AC_MSG_WARN([You don't have pthreads, disabling serial, ethernet and audio support.])
# Line 385 | Line 409 | if [[ "x$ac_cv_have_extended_signals" =
409            AC_LANG_RESTORE
410          ])
411          AC_TRANSLATE_DEFINE(HAVE_SIGCONTEXT_SUBTERFUGE, $ac_cv_have_sigcontext_hack)
412 +      elif [[ "x$HAVE_POWERPC" = "xyes" ]]; then
413 +        AC_CACHE_CHECK("whether we then have a subterfuge for your system",
414 +                  ac_cv_have_sigcontext_hack, [
415 +          AC_LANG_SAVE
416 +          AC_LANG_CPLUSPLUS
417 +          AC_TRY_RUN([
418 +            #include <unistd.h>
419 +            #include <signal.h>
420 +            #include <fcntl.h>
421 +            #include <sys/mman.h>
422 +
423 +            static volatile caddr_t mem = 0;
424 +            static int zero_fd = -1;
425 +
426 +            static RETSIGTYPE segfault_handler(int, struct sigcontext_struct *scs)
427 +            { if ((caddr_t)(scs->regs->dar) != mem) exit(1);
428 +              munmap(mem, getpagesize()); close(zero_fd); exit(0); }
429 +
430 +            int main()
431 +            { if ((zero_fd = open("/dev/zero", O_RDWR)) < 0) exit(1);
432 +              if ((mem = (caddr_t)mmap(0, getpagesize(), PROT_READ, MAP_PRIVATE, zero_fd, 0)) == (caddr_t)MAP_FAILED) exit(1);
433 +              struct sigaction sa; sa.sa_flags = 0;
434 +              sa.sa_handler = (RETSIGTYPE (*)(int))segfault_handler;
435 +              sigaction(SIGSEGV, &sa, 0);
436 +              mem[0] = 0;
437 +              exit(1); // should not be reached
438 +            }
439 +          ],
440 +          [ac_cv_have_sigcontext_hack=yes],
441 +          [ac_cv_have_sigcontext_hack=no]
442 +          )
443 +          AC_LANG_RESTORE
444 +        ])
445 +        AC_TRANSLATE_DEFINE(HAVE_SIGCONTEXT_SUBTERFUGE, $ac_cv_have_sigcontext_hack)
446 +      fi
447 +      ;;
448 +    netbsd*)
449 +      if [[ "x$HAVE_M68K" = "xyes" ]]; then
450 +        AC_CACHE_CHECK("whether we then have a subterfuge for your system",
451 +                  ac_cv_have_sigcontext_hack, [
452 +          AC_LANG_SAVE
453 +          AC_LANG_CPLUSPLUS
454 +          AC_TRY_RUN([
455 +            #include <unistd.h>
456 +            #include <signal.h>
457 +            #include <fcntl.h>
458 +            #include <sys/mman.h>
459 +
460 +            static volatile caddr_t mem = 0;
461 +            static int zero_fd = -1;
462 +
463 +            static RETSIGTYPE segfault_handler(int, int code)
464 +            { if ((caddr_t)code != mem) exit(1);
465 +              munmap(mem, getpagesize()); close(zero_fd); exit(0); }
466 +
467 +            int main()
468 +            { if ((zero_fd = open("/dev/zero", O_RDWR)) < 0) exit(1);
469 +              if ((mem = (caddr_t)mmap(0, getpagesize(), PROT_READ, MAP_PRIVATE, zero_fd, 0)) == (caddr_t)MAP_FAILED) exit(1);
470 +              struct sigaction sa; sa.sa_flags = 0;
471 +              sa.sa_handler = (RETSIGTYPE (*)(int))segfault_handler;
472 +              sigaction(SIGSEGV, &sa, 0);
473 +              mem[0] = 0;
474 +              exit(1); // should not be reached
475 +            }
476 +          ],
477 +          [ac_cv_have_sigcontext_hack=yes],
478 +          [ac_cv_have_sigcontext_hack=no]
479 +          )
480 +          AC_LANG_RESTORE
481 +        ])
482 +        AC_TRANSLATE_DEFINE(HAVE_SIGCONTEXT_SUBTERFUGE, $ac_cv_have_sigcontext_hack)
483        fi
484      ;;
485    esac
# Line 397 | Line 492 | if [[ "$ac_cv_have_extended_signals" = "
492   fi
493  
494   dnl Determine the addressing mode to use
495 < ADDRESSING_MODE=""
496 < AC_MSG_CHECKING([for the addressing mode to use])
497 < for am in $ADDRESSING_TEST_ORDER; do
498 <  case $am in
499 <  real)
500 <    dnl Requires ability to mmap Low Memory globals.
501 <    if [[ "x$ac_cv_can_map_lm" = "xno" ]]; then
502 <      continue
503 <    fi
504 <    if [[ "x$ac_cv_c_bigendian" = "xyes" ]]; then
505 <      dnl Requires only VOSF if 16-bit vidmode enable
411 <      if [[ "x$WANT_16BIT_VIDMODE" = "xyes" ]]; then
412 <        if [[ "x$CAN_VOSF" = "xno" ]]; then
413 <          continue
414 <        fi
415 <      else
416 <        DEFINES="$DEFINES -DDISABLE_16BIT_VIDMODE"
495 > if [[ "x$WANT_NATIVE_M68K" = "xyes" ]]; then
496 >  ADDRESSING_MODE="real"
497 > else
498 >  ADDRESSING_MODE=""
499 >  AC_MSG_CHECKING([for the addressing mode to use])
500 >  for am in $ADDRESSING_TEST_ORDER; do
501 >    case $am in
502 >    real)
503 >      dnl Requires ability to mmap() Low Memory globals
504 >      if [[ "x$ac_cv_can_map_lm" = "xno" ]]; then
505 >        continue
506        fi
507 <    else
419 <      dnl Requires VOSF
507 >          dnl Requires VOSF screen updates
508        if [[ "x$CAN_VOSF" = "xno" ]]; then
509          continue
510        fi
511 <    fi
512 <    dnl Real addressing will probably work
425 <    ADDRESSING_MODE="real"
426 <    WANT_VOSF=yes dnl we can use VOSF and we need it actually
427 <    DEFINES="$DEFINES -DREAL_ADDRESSING"
428 <    break
429 <    ;;
430 <  direct)
431 <    dnl Requires VOSF
432 <    if [[ "x$CAN_VOSF" = "xyes" ]]; then
433 <      ADDRESSING_MODE="direct"
511 >      dnl Real addressing will probably work.
512 >      ADDRESSING_MODE="real"
513        WANT_VOSF=yes dnl we can use VOSF and we need it actually
514 <      DEFINES="$DEFINES -DDIRECT_ADDRESSING"
514 >      DEFINES="$DEFINES -DREAL_ADDRESSING"
515        break
516 <    fi
517 <    ;;
518 <  banks)
519 <    dnl Default addressing mode
516 >      ;;
517 >    direct)
518 >      dnl Requires VOSF screen updates
519 >      if [[ "x$CAN_VOSF" = "xyes" ]]; then
520 >        ADDRESSING_MODE="direct"
521 >        WANT_VOSF=yes dnl we can use VOSF and we need it actually
522 >        DEFINES="$DEFINES -DDIRECT_ADDRESSING"
523 >        break
524 >      fi
525 >      ;;
526 >    banks)
527 >      dnl Default addressing mode
528 >      ADDRESSING_MODE="memory banks"
529 >      break
530 >      ;;
531 >    *)
532 >      AC_MSG_ERROR([Internal configure.in script error for $am addressing mode])
533 >    esac
534 >  done
535 >  AC_MSG_RESULT($ADDRESSING_MODE)
536 >  if [[ "x$ADDRESSING_MODE" = "x" ]]; then
537 >    AC_MSG_WARN([Sorry, no suitable addressing mode in $ADDRESSING_TEST_ORDER])
538      ADDRESSING_MODE="memory banks"
539 <    break
443 <    ;;
444 <  *)
445 <    AC_MSG_ERROR([Internal configure.in script error for $am addressing mode])
446 <  esac
447 < done
448 < AC_MSG_RESULT($ADDRESSING_MODE)
449 < if [[ "x$ADDRESSING_MODE" = "x" ]]; then
450 <  AC_MSG_WARN([Sorry, no suitable addressing mode in $ADDRESSING_TEST_ORDER])
451 <  ADDRESSING_MODE="memory banks"
539 >  fi
540   fi
541  
542 < dnl Since real and direct addressing modes automatically activate VOSF,
543 < dnl I put this test here.
456 < if [[ "x$WANT_VOSF" = "xyes" ]]; then
457 <  if [[ "x$CAN_VOSF" = "xno" ]]; then
458 <    AC_MSG_WARN([Sorry, your system does not support Video on SEGV signals])
459 <    WANT_VOSF=no
460 <  else
542 > dnl Enable VOSF screen updates with this feature is requested and feasible
543 > if [[ "x$WANT_VOSF" = "xyes" -a "x$CAN_VOSF" = "xyes" ]]; then
544      AC_DEFINE(ENABLE_VOSF)
545 <  fi
545 > else
546 >    WANT_VOSF=no
547   fi
548  
549   dnl Check for GAS.
# Line 489 | Line 573 | fi
573  
574   dnl Select appropriate CPU source and REGPARAM define.
575   ASM_OPTIMIZATIONS=none
492 WANT_NATIVE_M68K=no
576   CPUSRCS="cpuemu1.cpp cpuemu2.cpp cpuemu3.cpp cpuemu4.cpp cpuemu5.cpp cpuemu6.cpp cpuemu7.cpp cpuemu8.cpp"
577   FPUSRCS="../uae_cpu/fpp.cpp"
578   if [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_I386" = "xyes" ]]; then
# Line 497 | Line 580 | if [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE
580    DEFINES="$DEFINES -DREGPARAM=\"__attribute__((regparm(3)))\""
581    if [[ "x$HAVE_GAS" = "xyes" ]]; then
582      ASM_OPTIMIZATIONS=i386
583 <    DEFINES="$DEFINES -DX86_ASSEMBLY -DOPTFLAGS"
584 <    CPUSRCS="../uae_cpu/compiler.cpp cpufast1.s cpufast2.s cpufast3.s cpufast4.s cpufast5.s cpufast6.s cpufast7.s cpufast8.s"
583 >    DEFINES="$DEFINES -DX86_ASSEMBLY -DUNALIGNED_PROFITABLE -DOPTIMIZED_FLAGS"
584 >    CPUSRCS="cpufast1.s cpufast2.s cpufast3.s cpufast4.s cpufast5.s cpufast6.s cpufast7.s cpufast8.s"
585      FPUSRCS="../uae_cpu/fpu_x86.cpp"
586    fi
587   elif [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_SPARC" = "xyes" -a "x$HAVE_GAS" = "xyes" ]]; then
# Line 510 | Line 593 | elif [[ "x$HAVE_GCC27" = "xyes" -a "x$HA
593      AC_MSG_RESULT($SPARC_TYPE)
594      case "$SPARC_TYPE" in
595      SPARC_V8)
596 <          ASM_OPTIMIZATIONS="SPARC V8 architecture"
597 <      DEFINES="$DEFINES -DSPARC_V8_ASSEMBLY" dnl -DOPTFLAGS"
596 >      ASM_OPTIMIZATIONS="SPARC V8 architecture"
597 >      DEFINES="$DEFINES -DSPARC_V8_ASSEMBLY" dnl -DOPTIMIZED_FLAGS"
598        CFLAGS="$CFLAGS -Wa,-Av8"
599        CXXFLAGS="$CXXFLAGS -Wa,-Av8"
600        ;;
601      SPARC_V9)
602 <          ASM_OPTIMIZATIONS="SPARC V9 architecture"
603 <      DEFINES="$DEFINES -DSPARC_V9_ASSEMBLY" dnl -DOPTFLAGS"
602 >      ASM_OPTIMIZATIONS="SPARC V9 architecture"
603 >      DEFINES="$DEFINES -DSPARC_V9_ASSEMBLY" dnl -DOPTIMIZED_FLAGS"
604        CFLAGS="$CFLAGS -Wa,-Av9"
605        CXXFLAGS="$CXXFLAGS -Wa,-Av9"
606        ;;
607      esac
608      ;;
609    esac
610 < elif [[ "x$HAVE_M68K" = "xyes" -a "x$SUPPORTS_NATIVE_M68K" = "xyes" ]]; then
610 > elif [[ "x$WANT_NATIVE_M68K" = "xyes" ]]; then
611    dnl Native m68k, no emulation
612 <  CPUSRCS=""
613 <  AC_DEFINE(ENABLE_NATIVE_M68K)
531 <  WANT_NATIVE_M68K=yes
612 >  CPUINCLUDES="-I../native_cpu"
613 >  CPUSRCS="asm_support.s"
614   fi
615  
616 + dnl Select appropriate FPU source.
617 + dnl 1. Optimized X86 assembly core if target is i386 architecture
618 + SAVED_DEFINES=$DEFINES
619 + if [[ "x$FPE_CORE" = "xdefault" ]]; then
620 +  if [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_I386" = "xyes" -a "x$HAVE_GAS" = "xyes" ]]; then
621 +    DEFINES="$DEFINES -DFPU_X86"
622 +    FPE_CORE_STR="i386 optimized core"
623 +    FPUSRCS="../uae_cpu/fpu/fpu_x86.cpp"
624 +  fi
625 + fi
626 +
627 + dnl 2. JIT-FPU only supports IEEE-based implementation.
628 + if [[ "x$WANT_JIT_FPU" = "xyes" -a "x$FPE_CORE" != "xieee" ]]; then
629 +  AC_MSG_WARN([Sorry, JIT-FPU supports only the "ieee" FPE implementation])
630 +  FPE_CORE="ieee"
631 +  dnl Restore previous variables. FPE_CORE_STR and FPUSRCS are overwritten
632 +  DEFINES=$SAVED_DEFINES
633 + fi
634 +
635 + dnl 3. Choose either IEEE-based implementation or the old UAE core
636 + if [[ "x$FPE_CORE" = "xieee" ]]; then
637 +  AC_CHECK_HEADERS(fenv.h)
638 +  AC_CHECK_FUNCS(feclearexcept fegetexceptflag feraiseexcept fesetexceptflag fetestexcept)
639 +  AC_CHECK_FUNCS(fegetround fesetround)
640 +  DEFINES="$DEFINES -DFPU_IEEE"
641 +  FPE_CORE_STR="ieee-based fpu core"
642 +  FPUSRCS="../uae_cpu/fpu/fpu_ieee.cpp"
643 + elif [[ "x$FPE_CORE" = "xuae" ]]; then
644 +  DEFINES="$DEFINES -DFPU_UAE"
645 +  FPE_CORE_STR="original uae core"
646 +  FPUSRCS="../uae_cpu/fpu/fpu_uae.cpp"
647 + fi
648 +
649 + dnl Check for certain math functions
650 + AC_CHECK_FUNCS(atanh)
651 + AC_CHECK_FUNCS(isnan isinf)             dnl C99
652 + AC_CHECK_FUNCS(isnanl isinfl)   dnl IEEE ?
653 +
654   dnl UAE CPU sources for all non-m68k-native architectures.
655   if [[ "x$WANT_NATIVE_M68K" = "xno" ]]; then
656    CPUINCLUDES="-I../uae_cpu"
657    CPUSRCS="../uae_cpu/basilisk_glue.cpp ../uae_cpu/memory.cpp ../uae_cpu/newcpu.cpp ../uae_cpu/readcpu.cpp $FPUSRCS cpustbl.cpp cpudefs.cpp $CPUSRCS"
538 else
539  CPUINCLUDES="-I../native_cpu"
540  CPUSRCS="asm_support.s"
658   fi
659  
660   dnl Remove the "-g" option if set for GCC.
661   if [[ "x$HAVE_GCC27" = "xyes" ]]; then
662 <        dnl gb-- Probably not the cleanest way to take
663 <        CFLAGS=`echo $CFLAGS | sed -e 's/ -g / /;s/^-g / /;s/ -g$/ /;s/^-g$//'`
664 <        CXXFLAGS=`echo $CXXFLAGS | sed -e 's/ -g / /;s/^-g / /;s/ -g$/ /;s/^-g$//'`
662 >  dnl gb-- Probably not the cleanest way to take
663 >  CFLAGS=`echo $CFLAGS | sed -e 's/ -g / /;s/^-g / /;s/ -g$/ /;s/^-g$//'`
664 >  CXXFLAGS=`echo $CXXFLAGS | sed -e 's/ -g / /;s/^-g / /;s/ -g$/ /;s/^-g$//'`
665   fi
666  
667   dnl Generate Makefile.
# Line 566 | Line 683 | echo ESD sound support ................
683   echo GTK user interface ............... : $WANT_GTK
684   echo mon debugger support ............. : $WANT_MON
685   echo Running m68k code natively ....... : $WANT_NATIVE_M68K
686 + echo Floating-Point emulation core .... : $FPE_CORE_STR
687   echo Assembly optimizations ........... : $ASM_OPTIMIZATIONS
688   echo Addressing mode .................. : $ADDRESSING_MODE
689   echo

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines