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

Comparing BasiliskII/src/Windows/configure.ac (file contents):
Revision 1.3 by gbeauche, 2005-06-20T08:43:50Z vs.
Revision 1.4 by gbeauche, 2005-11-21T22:13:56Z

# Line 174 | Line 174 | else
174    AC_MSG_ERROR([Sorry, Windows exceptions don't work as expected on your system.])
175   fi
176  
177 + dnl Check if we can ignore the fault (instruction skipping in SIGSEGV handler)
178 + AC_CACHE_CHECK([whether we can skip instruction in SIGSEGV handler],
179 +  ac_cv_have_skip_instruction, [
180 +  AC_LANG_SAVE
181 +  AC_LANG_CPLUSPLUS
182 +  AC_TRY_RUN([
183 +    #define HAVE_SIGSEGV_SKIP_INSTRUCTION 1
184 +    #define CONFIGURE_TEST_SIGSEGV_RECOVERY
185 +    #include "../Unix/vm_alloc.cpp"
186 +    #include "../Unix/sigsegv.cpp"
187 +  ], ac_cv_have_skip_instruction=yes, ac_cv_have_skip_instruction=no,
188 +  dnl When cross-compiling, do not assume anything.
189 +  ac_cv_have_skip_instruction=no
190 +  )
191 +  AC_LANG_RESTORE
192 +  ]
193 + )
194 + AC_TRANSLATE_DEFINE(HAVE_SIGSEGV_SKIP_INSTRUCTION, "$ac_cv_have_skip_instruction",
195 +  [Define if we can ignore the fault (instruction skipping in SIGSEGV handler).])
196 +
197   dnl We really want VOSF (Video on SEGV Signals) screen updates acceleration
198   AC_DEFINE(ENABLE_VOSF, 1, [Define if using video enabled on SEGV signals.])
199  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines