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

Comparing SheepShaver/src/Unix/configure.ac (file contents):
Revision 1.9 by gbeauche, 2004-11-22T22:51:54Z vs.
Revision 1.13 by gbeauche, 2004-12-19T08:19:27Z

# Line 31 | Line 31 | AC_ARG_ENABLE(addressing,
31    [case "$enableval" in
32     real)        WANT_ADDRESSING_MODE="real";;
33     direct)      WANT_ADDRESSING_MODE="direct";;
34 <   direct,0x*)  WANT_ADDRESSING_MODE="direct"; NATMEM_OFFSET=`echo "$enableval" | sed -n '/direct,\(0[[xX]][[0-9A-Fa-f]]*\)/s//\1/p'`;;
34 >   direct,0x*)  WANT_ADDRESSING_MODE="direct"; NATMEM_OFFSET=`echo "$enableval" | sed -n '/direct,\(0[[xX]][[0-9A-Fa-f]]*\([[UuLl]]\{1,2\}\)\?\)$/s//\1/p'`;;
35     esac],
36    [WANT_ADDRESSING_MODE="real"]
37   )
# Line 105 | Line 105 | if [[ "x$WANT_MON" = "xyes" ]]; then
105      WANT_MON=no
106    fi
107   fi
108 + AC_SUBST(MONSRCS)
109  
110   dnl Checks for libraries.
111   AC_CHECK_LIB(posix4, sem_init)
# Line 260 | Line 261 | AC_CHECK_HEADERS(linux/if.h, [], [], [
261   #endif
262   ])
263   AC_CHECK_HEADERS(linux/if_tun.h net/if.h net/if_tun.h)
264 + AC_CHECK_HEADERS(fenv.h)
265  
266   dnl Checks for typedefs, structures, and compiler characteristics.
267   AC_C_BIGENDIAN
# Line 301 | Line 303 | AC_CHECK_FUNCS(sigaction signal)
303   AC_CHECK_FUNCS(mmap mprotect munmap)
304   AC_CHECK_FUNCS(vm_allocate vm_deallocate vm_protect)
305   AC_CHECK_FUNCS(posix_memalign memalign valloc)
306 + AC_CHECK_FUNCS(exp2f log2f exp2 log2)
307  
308   dnl Darwin seems to define mach_task_self() instead of task_self().
309   AC_CHECK_FUNCS(mach_task_self task_self)
# Line 444 | Line 447 | if [[ "x$WANT_SDL_AUDIO" = "xyes" ]]; th
447    AUDIOSRC="../SDL/audio_sdl.cpp"
448   fi
449  
450 < SYSSRCS="$VIDEOSRCS $EXTFSSRC $SERIALSRC $ETHERSRC $SCSISRC $AUDIOSRC $SEMSRC $UISRCS $MONSRCS $EXTRASYSSRCS"
450 > SYSSRCS="$VIDEOSRCS $EXTFSSRC $SERIALSRC $ETHERSRC $SCSISRC $AUDIOSRC $SEMSRC $UISRCS $EXTRASYSSRCS"
451  
452   dnl Define a macro that translates a yesno-variable into a C macro definition
453   dnl to be put into the config.h file
# Line 916 | Line 919 | int main(void)
919                  memset(m, 0, ranges[[i]].size);
920                  vm_release(m, ranges[[i]].size);
921                  if (i == n_ranges - 1) {
922 <                        printf("0x%08x\n", ofs);
922 >                        if (sizeof(void *) == 8 && ofs > 0xffffffff)
923 >                                printf("0x%lxul\n", ofs);
924 >                        else
925 >                                printf("0x%08x\n", ofs);
926                          return 0;
927                  }
928          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines