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.11 by gbeauche, 2004-11-25T19:14:15Z 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 303 | 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 918 | 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