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

Comparing BasiliskII/src/MacOSX/configure.in (file contents):
Revision 1.2 by nigel, 2002-03-16T05:47:11Z vs.
Revision 1.3 by nigel, 2002-03-16T09:16:18Z

# Line 98 | Line 98 | fi
98   dnl We want pthreads.
99   HAVE_PTHREADS=yes
100   AC_CHECK_FUNCS(pthread_cancel)
101 + AC_CHECK_FUNCS(pthread_mutexattr_setprotocol)
102 + AC_CHECK_FUNCS(pthread_mutexattr_settype)
103  
104   dnl If POSIX.4 semaphores are not available, we emulate them with pthread mutexes.
105   SEMSRC=
# Line 541 | Line 543 | AC_EGREP_CPP(yes,
543   ], [AC_MSG_RESULT(yes); HAVE_GCC30=yes], AC_MSG_RESULT(no))
544  
545   dnl Set "-fomit-frame-pointer" on i386 GCC 2.7 or higher.
546 + dnl Also set "-fno-exceptions" for C++ because exception handling requires
547 + dnl the frame pointer.
548   if [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_I386" = "xyes" ]]; then
549    CFLAGS="$CFLAGS -fomit-frame-pointer"
550 <  CXXFLAGS="$CXXFLAGS -fomit-frame-pointer"
550 >  CXXFLAGS="$CXXFLAGS -fomit-frame-pointer -fno-exceptions"
551   fi
552  
553   dnl (gb) Do not merge constants since it breaks fpu/fpu_x86.cpp.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines