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.15 by gbeauche, 2004-01-04T18:38:00Z vs.
Revision 1.16 by gbeauche, 2004-01-06T13:24:56Z

# Line 102 | Line 102 | if [[ "x$EMULATED_PPC" = "xyes" ]]; then
102      ])
103    ])
104    AC_CHECK_FUNCS(pthread_cancel)
105 +  AC_CHECK_FUNCS(pthread_mutexattr_setprotocol)
106 +  AC_CHECK_FUNCS(pthread_mutexattr_settype)
107 +  AC_CHECK_FUNCS(pthread_mutexattr_setpshared)
108    if [[ "x$HAVE_PTHREADS" = "xyes" ]]; then
109      AC_DEFINE(HAVE_PTHREADS, 1, [Define if pthreads are available.])
110    fi
# Line 195 | Line 198 | AC_STRUCT_TM
198  
199   dnl Checks for library functions.
200   AC_CHECK_FUNCS(strdup cfmakeraw)
201 < AC_CHECK_FUNCS(nanosleep clock_gettime timer_create)
201 > AC_CHECK_FUNCS(nanosleep)
202   AC_CHECK_FUNCS(sigaction signal)
203   AC_CHECK_FUNCS(mmap mprotect munmap)
204   AC_CHECK_FUNCS(vm_allocate vm_deallocate vm_protect)
205 + dnl We need clock_gettime() for better performance but it may drag
206 + dnl libpthread in, which we don't want for native ppc mode
207 + if [[ "x$EMULATED_PPC" = "xyes" ]]; then
208 +  AC_SEARCH_LIBS(clock_gettime, [rt posix4])
209 +  AC_CHECK_FUNCS(clock_gettime)
210 + fi
211  
212   dnl Select system-dependant sources.
213   if [[ "x$EMULATED_PPC" = "xno" ]]; then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines