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

Comparing BasiliskII/src/Unix/configure.ac (file contents):
Revision 1.14 by gbeauche, 2002-11-24T20:07:25Z vs.
Revision 1.15 by gbeauche, 2003-05-13T16:33:06Z

# Line 553 | Line 553 | AC_CACHE_CHECK([whether we can map Low M
553    AC_TRY_RUN([
554      #include "vm_alloc.cpp"
555      int main(void) { /* returns 0 if we could map the lowmem globals */
556 <      volatile char * lm;
556 >      volatile char * lm = 0;
557        if (vm_init() < 0) exit(1);
558 <      if ((lm = (volatile char *)vm_acquire_fixed(0, 0x2000)) == VM_MAP_FAILED) exit(1);
558 >      if (vm_acquire_fixed(0, 0x2000) < 0) exit(1);
559        lm[0] = 'z';
560        if (vm_release((char *)lm, 0x2000) < 0) exit(1);
561        vm_exit(); exit(0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines